Re: Windows 7 IIS Problems
Hey,
What version of Visual Studio did you use to create the application? And which version of the .Net Framework are you targetting?
Gary
Re: Windows 7 IIS Problems
It was build using VS2005 and targetting .net v2
Re: Windows 7 IIS Problems
Hey,
So the first thing to check would be that .Net Framework 2.0 is installed and correctly configured in IIS on the laptops.
Gary
Re: Windows 7 IIS Problems
Its not listed in the add/remove programs, only 3.5.
doesnt that include v2? do i really need to install it separately?
thanks for the help. :)
Re: Windows 7 IIS Problems
Hey,
.Net 3.0 and .Net 3.5 are based on .Net 2.0, so in theory, it should be there.
The question would be whether ASP.Net has been registered in IIS correctly. I am not on a machine that has IIS 7 installed, so I can't do some confirmations for you.
Gary
Re: Windows 7 IIS Problems
thanks for the ideas.
I'll go back and have another look.
its weird. everything seems to be the same but there is obviously something different somewhere along the line.
cheers
Re: Windows 7 IIS Problems
Hey,
If you haven't done so already, I would suggest you have a look at the following:
http://msdn.microsoft.com/en-us/library/bb763174.aspx
Gary
Re: Windows 7 IIS Problems
This can happen if not all of the DLLs that your app needs have been copied over. So, how did you deploy to the Win7 machines?
Try deploying again but make sure that all of your DLLs are there. Especially non-.NET ones. Have a look at your references and match it up with the bin folder. Have a look at the .config file and its references and make sure it matches what's in the bin folder.
Re: Windows 7 IIS Problems
Another thing might be if you have assemblies in the GAC on one machine, that haven't been registered on the other machines. Making sure all the necessary assemblies are in your applications bin directory will correct this though.
Gary
Re: Windows 7 IIS Problems
Thanks for all of the suggestions.
I shall try them all. :)
Re: Windows 7 IIS Problems
Hey,
If you get it working, remember to post your solution back here, that way other people can benefit as well.
Gary
Re: Windows 7 IIS Problems
yeah, will do.
thanks again. :)
Re: Windows 7 IIS Problems
OK, i found a fix.
it was all down to the assemblies that were included. and SQL Server express.
I had SQL Express 2008 installed and this worked fine on the XP laptops. however.......
Initially, there was a message saying that 2008 had 'known compatibility issues' with Wondows 7. But i plowed on through and everything seemed to be ok.
I tracked the error to a dll that 2008 seems to remove.
I uninstalled 2008, located a copy of 2005 Express and voila....all was well with the world.
so, there is your answer. if you are using windows 7, and you want a SQL Server database, use 2005.
thanks again for the help.
:)
Re: Windows 7 IIS Problems
SQL 2008 works fine on Win 7 and Win 2008 R2 for me, might be updates or something similar missing. But if that works for you, good enough.
Re: Windows 7 IIS Problems
Hmmm, I have to say that I also have SQL Server 2008 on my Windows 7 machine, and it works just fine.
Gary
P.S. Remember to mark your thread resolved if your question has been answered.