problem of web setup

J

Jim

Hi, I hv got a problem for one of my asp.net web application. When I am
trying to use a web set up project to install my application on iis server,
there always an error on Global.asxs for "Type can not be load.". I am very
sure my project is compiled properly. And I can run the application on both
local and production machine with a virtual directory point to my project
folder on iis. Any solutions for this problems will be very appreciated,
thanks!
 
S

Scott Allen

I've seen this happen when Index Server is running. Once the indexing
service was stopped there were no problems..
 
J

Jim

Figured it out. It is actually because of the namespacing of the "Inherits"
value for Global.asxs, which remained the old namespace when I changed the
project's namespace before I add the setup project into the solution.

I thought this value could be changed automatically, but it didn't. That
causes the asp.net can not find its codebehind.

The indexing is another issue normally will cause the problem on both local
and production server. Anyway, thanks for Scott's comment. It is very nice
to see our project is running properly now.

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top