Setup Problem

R

Richard Roche

i have an existing medium application w/ ~20 forms running
for months. I added 1 new form and tested successfully on
my development machine; when i re-build my setup i get a
error 'Description: An error occurred during the parsing
of a resource required to service this request <%@ Page
language ...'; Since it worked on my development machine
i'm having difficulty troubleshooting (although i've spent
time).

Another possible clue is a version date that comes from a
module is showing the previous date; although it's correct
when run on the development machine. There are no error
during creation of the release setup.

Thanks for any ideas/advice.
 
M

MSFT

Hi Richard,

After you add the form, have you recompile the project and generate the DLL
and copy the DLL to the BIN folder on the server?

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
R

Richard Roche

I have been using a 'setup' project that builds a .msi
file and use add/remove on the server then then run the
setup. I've done it many times and this is the first
gottcha. I always change the solution configuration
to 'release' and change the web.config to debug=false.
Before i install i checked the folder on the server and
the dll is removed. After setup it was there w/ the
correct date.

I'm really puzzled. thanks for your ideas.
 
M

MSFT

Form further trouble shoot, you may use the utility "ildasm.exe" in .NET
framework, and the DLL file in the BIN folder (on the web server), check if
the type for the new webform has been added to the assembly. And you also
can add new form again to the project, leave it simple and blank and the
test it on the server, will this form work?

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
R

Richard Roche

ildasm shows the form causing me grief.

I added a new form w/ nothing in it and get the same error
when i try to navigate to it. Everything works fine in
test. I'm going to try and install on another machine.
see below. any suggestions?

Server Error in '/Sheep' Application.
-----------------------------------------------------------
---------------------

Parser Error
Description: An error occurred during the parsing of a
resource required to service this request. Please review
the following specific parse error details and modify your
source file appropriately.

Parser Error Message: Could not load type 'Sheep.nada'.

Source Error:


Line 1: <%@ Page Language="vb" AutoEventWireup="false"
Codebehind="nada.aspx.vb" Inherits="Sheep.nada"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
Line 3: <HTML>


Source File: G:\Inetpub\wwwroot\Sheep\nada.aspx Line: 1
 
R

Richard Roche

i installed on a 2003 test server and things ran perfectly!
That was a relief.

we are going to fail-over or a full re-boot tonight.

Is there a way to see if my dll is 'stuck' in iis 's
memory?

Any other trouble shooting ideas?

Thanks.
 
M

MSFT

Hi Richard,

A complete rebbot may help on this issue. Additonally, you check if your
application has some special setting for assembly versions.

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

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,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top