-
WSLeesha
AskWoody Lounger>>SharePoint uses a combination of file system and database to build web pages. The file system “stuff” resides in C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions12 and C:InetpubwwwrootwssVirtualDirectoriessharepoint-site-name.
Thanks for giving me the location. I don’t want to mess with the Sharepoint files, but would just like to add code to redirects the url to the the default page I built to open vs the companyweb page openning.
>>Just to be clear, when you try to access your website from a workstation you get a 404 error correct?
This is correct. The IIS settings “appear” ok. The issue only happens when they use the link from the companyweb page that they open directly on their workstation. If they remote in to view the company intranet website, the link on the companyweb works.
<<Have you checked the site settings in IIS Manage?
Are you asking if I checked the IIS on each individual workstatin? If so no and it would be an issue if I have to configure each workstation. I've only worked with the IIS on the server.
Leesha
-
WSLeesha
AskWoody LoungerRegarding the company web, I would only be guessing at how you add or edit information. Is it a page you edit and upload? Or is it part of a wiki or content management system that you edit in the browser?
Actually it is the web that is on the agency server and is installed when the server OS is installed. Is’t a sharepoint web. It allows the users to add links etc. It took me hours to find how to delete them.
>>If the company web server supports ASP.Net, you could create a new folder and copy your application there. If it is outside the existing web site, you probably will need to use the IIS MMC snap-in to set it up. If it is a folder within the existing web site, there’s a good chance it will “just work.” I suggest lots of testing before redirect any existing page to the new one(s).
I’ve searched and searched as well as googled the topic for hours and can’t find where this sharepoint web is. The site that I need to let the users get to is set up as the default web on our server. I finally got it to open from the link by putting in the remote desktop path that I use to get in from home, followed by the name of the folder that the website is in then the homepage name. That works as long as the user the remotes into the server. If they try to open up the link from the “companyweb” (which their IE automatically defaults to when they click in on their workstations) the link won’t work. I’m assuming its because they aren’t actually logged in remotely to the server at that point, but just to their workstations. It’s a poor fix, but its a start.
== Edit ==
Leesha
-
WSLeesha
AskWoody LoungerHi,
Tried putting in local server and still not luck. To make matters worse in doing this I added links as well as items to the company web and now can’t get rid of them. I’d kill to just get rid of this page and have my page load. Is that possible and if so how do I point to it vs this stupid company web page?
Thanks,
Leesha -
WSLeesha
AskWoody LoungerThe link is something like http://servername/folder/default.aspx ?
the link is http://localhost/default.aspx. I tried your path up above with our info but that didn’t work either. I don’t think its security issues as we log in using windows authentication to ge the company intranet and that works fine. If I log directly on the server it opens up fine from the companyweb main page. The error I’m getting is a 404 error but even after googling it and following some of the info on the links I coudln’t get past it. Ultimately I’d love to bypass the “companyweb” completely and have the default.aspx for the default web open up. Do you know how to do that?
Thanks!
LeeshaCould it be a security issue?
-
WSLeesha
AskWoody Lounger -
WSLeesha
AskWoody LoungerI learn a lot from the Lounge, both by studying the great solutions provided by others and by doing research for the replies that I post. I can apply much of that in my work, so I can do my job better because of the Lounge.
I hear you on that one! I’m floored by all that the I’ve learned here (mainly due to you patience and turtorials) over the years and how much I’ve applied to my own job and in helping others in my office or friends. I will admit its much easier or I should say less intimidating to jump into something when I know I have the lounge to turn to for help. That is why this how endeaver with asp.net has been sooooooooooooo hard and frustrating!!!
Leesha
-
WSLeesha
AskWoody Lounger -
WSLeesha
AskWoody LoungerYou can run an SQL statement to update the purchase table:
Dim strSQL As String
strSQL = “UPDATE Purchase SET Closed = True WHERE [po order] = ” & Me.txtPO
CurrentDb.Execute strSQL, dbFailOnErrorThis assumes that po order is a number field. If it is a text field, change the line that sets strSQL as follows:
strSQL = “UPDATE Purchase SET Closed = True WHERE [po order] = ” & Chr(34) & Me.txtPO & Chr(34)
Hi Hans,
PO Order is an autonumber. I’m not sure is the makes a difference or not. I used the first part of the code that you gave me, making one change. The table is called “Purchases”. I had left out an “s”. Anyway, I get an error that says “Too few parameters. Expected 1”. I’m not sure what its looking for or if the autofield makes a difference.
Thanks,
Leesha -
WSLeesha
AskWoody LoungerAccording to the user, these tables were added during some testing on the database years ago when it crashed. He states they aren’t necessary. I didn’t do the “show all” (another new learning experience) and sure enough now I’m not getting the error.
Thanks!
Leesha -
WSLeesha
AskWoody LoungerI don’t get an error message. A new record appears in the Shipping/Invoice table (the record source of the form opened by the “Ship this order” button.
Really? I just tried it again on my laptop and on the users workstation and we both get the error. If there is no number in the contract number text field it will close, but once there is a number (in the sample case I sent it should be 1234-abcd-5678-e) it gives the error re the contracts1 table.
-
WSLeesha
AskWoody LoungerCan you tell I’m sick of this one! I sent the wrong zip!
Leesha
-
WSLeesha
AskWoody LoungerForgot the DB file!!
-
WSLeesha
AskWoody LoungerThanks! I’ll look into this.
Leesha
-
WSLeesha
AskWoody LoungerThis worked perfectly. The headers and the totals are there. I’ll have to save this code to my “cheat sheet” files! Now lets hope it works in 2007 LOL. Worked great in my 2002 version.
Thanks,
Leesha -
WSLeesha
AskWoody Lounger>>It is possible to export an Access report (not the query) to Excel, and then use Automation to open that file so it is visible on the workstation.
This is what I’m trying to do but am not totally sure how to code it.
>>However there are issues with 2007 unless you have SP2 installed. And I’m not sure about totals lines the bottom – they should work, but…..
Figures!! And of course this is yet another account that has a mixture of Access versions. I grow to hate 2007 by the day. I know this is because I haven’t worked it in enough to “think like it”.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
1 hour, 14 minutes ago -
Mail from certain domains not delivered to my outlook.com address
by
pumphouse
4 hours ago -
Is data that is in OneDrive also taking up space on my computer?
by
WShollis1818
5 hours, 9 minutes ago -
Nvidia just fixed an AMD Linux bug
by
Alex5723
23 hours, 21 minutes ago -
50 years and counting
by
Susan Bradley
7 hours, 17 minutes ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
6 hours, 7 minutes ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
1 day, 10 hours ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
1 day, 10 hours ago -
Rethinking Extension Data Consent: Clarity, Consistency, and Control
by
Alex5723
1 day, 10 hours ago -
OneNote and MS Word 365
by
CWBillow
1 day, 12 hours ago -
Ultimate Mac Buyers Guide 2025: Which Mac is Right For You?
by
Alex5723
1 day, 12 hours ago -
Intel Unison support ends on Windows 11 in June
by
Alex5723
1 day, 12 hours ago -
April 2025 — still issues with AMD + 24H2
by
Kevin Jones
1 day, 12 hours ago -
Windows 11 Insider Preview build 26200.5518 released to DEV
by
joep517
2 days ago -
Windows 11 Insider Preview build 26120.3671 (24H2) released to BETA
by
joep517
2 days ago -
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
2 days, 9 hours ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
1 day, 21 hours ago -
MS-DEFCON 2: Seven months and counting
by
Susan Bradley
22 hours, 17 minutes ago -
My 3 monitors go black & then the Taskbar is moved to center monitor
by
saturn2233
2 days, 18 hours ago -
Apple backports fixes
by
Susan Bradley
2 days ago -
Win 11 24H2 will not install
by
Michael1950
22 hours, 30 minutes ago -
Advice to convert MBR to GPT and install Windows 11 Pro on unsupported PC
by
Andy M
1 hour, 57 minutes ago -
Photos from iPhone to Win 10 duplicating/reformatting to .mov
by
J9438
1 day, 6 hours ago -
Thunderbird in trouble. Here comes Thundermail
by
Alex5723
7 hours, 17 minutes ago -
Get back ” Open With” in context menus
by
CWBillow
3 days, 9 hours ago -
Many AMD Ryzen 9800X3D on ASRock have died
by
Alex5723
2 days, 1 hour ago -
simple general stupid question
by
WSaltamirano
3 days, 6 hours ago -
April 2025 Office non-Security updates
by
PKCano
4 days ago -
Microsoft wants to hear from you
by
Will Fastie
1 day, 15 hours ago -
Windows 11 Insider Preview Build 22635.5160 (23H2) released to BETA
by
joep517
4 days, 3 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.