Publishing Site with VS 2005

  • Thread starter Will Chamberlain
  • Start date
W

Will Chamberlain

I have been creating a C# app in VS2005 for the past 2 weeks and am
having the hardest time trying to run it from a remote IIS server. The
application works great on localhost but when I move it I get errors
such as:

Parser Error Message: Could not load type 'App_Web_nl7jjav7.edit'.

App_Web_n17jjav7 is the compiled dll that was placed in the bin
directory. I never had any problems with VS2003 and am perplexed now.
Can anyone offer any suggestions for publishing this? From searching the
web I have found that this is a common problem.

The server has 2.0 installed so I don't think that would be the problem.

- Will
 
W

Will Chamberlain

Thanks Karl. I installed this tool and am still having no luck.

Parser Error Message: Could not load the assembly 'New_Test'. Make sure
that it is compiled before accessing the page.

It is my understanding that this tool compiled already. I looked in my
bin directory and found New_Test.dll

This is too confusing. This task was extremely painless in 2003. I don't
understand.

Thanks again for your help Karl. I guess there's always the option of
not using codebehind.
 
K

Karl Seguin

If you are showing complete error messages, it normally shows the paths it
attempted to load from the dll from in the error message. Are you seeing
the bin folder listed?

Karl
 
W

Will Chamberlain

There are no paths listed in my error message. It just tells me that an
assembly file that isn't compiled can't be accessed. Also, when I choose
the directory to publish I get the following:

I want:

http://server/project name/

I get:

http://server/project name/project name/debug/ files in here

This is of no use to me. How do I change this with the deployment tool.
From the sounds of it, I should be able to change a lot of things
including the connection string.

Thanks again Karl.
 

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

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top