473,408 Members | 2,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Publishing Site with VS 2005

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

*** Sent via Developersdex http://www.developersdex.com ***
Dec 8 '05 #1
4 1137
Take a look at:
http://msdn.microsoft.com/asp.net/re...p/default.aspx

it's a beta deployment project that provides some nice way to build and
deploy your code (such as fixed-named assemblies). I think it'll solve your
problem.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Will Chamberlain" <wi**************@devdex.com> wrote in message
news:uC**************@TK2MSFTNGP12.phx.gbl...
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

*** Sent via Developersdex http://www.developersdex.com ***

Dec 8 '05 #2
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.

*** Sent via Developersdex http://www.developersdex.com ***
Dec 8 '05 #3
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

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Will Chamberlain" <wi**************@devdex.com> wrote in message
news:Oa*************@TK2MSFTNGP11.phx.gbl...
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.

*** Sent via Developersdex http://www.developersdex.com ***

Dec 8 '05 #4
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.

*** Sent via Developersdex http://www.developersdex.com ***
Dec 8 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: philip | last post by:
I tried to publish on my address 'philippewarein.com' a minimal site. There is only one page, with some words : "This is my first site" This is the HTML code of this page, code created by Visual...
3
by: EqDev | last post by:
Hello I have set up a new windows server 2003 standard edition for training (on new software we have developed) and am having problems publishing webs to it from VS 2005. I have a C# Web...
12
by: Nathan Sokalski | last post by:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a *.dll with the name of the Project to a /bin/...
5
by: Andy G | last post by:
I'm having a hell of a time publishing my first VS 2005 web site. All it tells me is publish failed. Is there any place that gives me a hint on why it failed? I'm typing in the website address...
5
by: Greg Smith | last post by:
I am making the step from windows to web. The final destination is our production server running Server 2003 Web Edition. I am having problems using the BUILD | PUBLISH WEB SITE option. What...
2
by: Geek | last post by:
Guys, I have a question regarding publishing web site using visual studio 2005. As usual I am running in to issues using visual studio 2005. I have build a web site and when I publish to the...
7
by: Agos | last post by:
I developed my first web site using Visual studio 2005. It works very well with Visual Studio. But after I published the web site in a file system folder in my PC using the instructions I found in...
5
by: rmgalante | last post by:
I've been using the VS2005 Publish utility on one of my projects for about six months. I have a large site with hundreds of files, thousands if you include the code behind files. So I thought...
4
by: cj | last post by:
I'm finally back to trying to write a web service. In VB 2005 I created a new web site and then ASP.NET Web Service. It opened showing App_Code/Service.VB with the following code already in it ...
11
by: cj | last post by:
Perhaps someone knows how to do this. When I open a new ASP.NET web service application in VS 2008, it opens with a simple Hello World web service already written. I want to see this work. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.