Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Problem moving a website to another machine

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cashdeskmac - 04 Mar 2008 07:43 GMT
Hi,

I have built a website using .NET 2.0 and all is well until I try and move
it to another machine.

I built it on Windows XP Pro 32 bit and moved it to Windows Server 2003 64
bit.  Does that make any difference?

The error I get when I try to run it is:

Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable.  Please hit the "Refresh" button in your web browser
to retry your request.

The eventviewer shows this:

Exception: System.IO.FileLoadException
Message: Could not load file or assembly 'System.Web, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Access is denied.

Any help would be much appreciated.
Michael Nemtsev [MVP] - 04 Mar 2008 09:29 GMT
Hello cashdeskmac,

do u have 64bit .NET FW installed on server or not?
Check the GAC and make sure that u have the same "System.Web, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" version installed there.
if not (I assume that token of 64bit .NET FW could be different) then u
need to change global.web config of your web project to refer to that DLL

---
WBR,
Michael  Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour 

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

c> Hi,
c>
c> I have built a website using .NET 2.0 and all is well until I try and
c> move it to another machine.
c>
c> I built it on Windows XP Pro 32 bit and moved it to Windows Server
c> 2003 64 bit.  Does that make any difference?
c>
c> The error I get when I try to run it is:
c>
c> Server Application Unavailable The web application you are attempting
c> to access on this web server is currently unavailable.  Please hit
c> the "Refresh" button in your web browser to retry your request.
c>
c> The eventviewer shows this:
c>
c> Exception: System.IO.FileLoadException
c> Message: Could not load file or assembly 'System.Web,
c> Version=2.0.0.0,
c> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
c> dependencies.
c> Access is denied.
c> Any help would be much appreciated.
c>
cashdeskmac - 04 Mar 2008 17:04 GMT
Thanks, Michael,

I will try that when I get back to work.

> Hello cashdeskmac,
>
[quoted text clipped - 35 lines]
> c> Any help would be much appreciated.
> c>
cashdeskmac - 05 Mar 2008 09:14 GMT
I checked the Public Key Token this morning, the one in GAC is the same
version as the one it can't find.

I guess I will try the approach of creating a new project and adding the
existing files.  

> Thanks, Michael,
>
[quoted text clipped - 39 lines]
> > c> Any help would be much appreciated.
> > c>

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.