Last post Oct 12, 2012 10:41 PM by necro_mancer
Oct 06, 2012 10:49 AM|JimS-Indy|LINK
I have a very simple ASP.net application I am using to learn. I've developed it (two controls -- dropdown box and a datagrid, plus an EF class) on my laptop using a copy of the production db (this initial app is read-only) so I can minimize the variables
I have to understand when I deploy it on my client's much more secure environment.
Since I'm using EF, I need .net4, of course. That was my first challenge. IIS had no application pool for .net4. Got that fixed (I think).
Now, I'm getting something else strange... I've googled it and still don't understand. Perhaps someone can give me some advice.
Server Error in '/' Application.
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 'BrowseWOs.BrowseWO'.
Source Error:Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BrowseWO.aspx.cs" Inherits="BrowseWOs.BrowseWO" %> Line 2: Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /BrowseWOs/BrowseWO.aspx Line: 1Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Oct 09, 2012 12:23 AM|kctt|LINK
I think the website project is not compiled properly.
Make sure you compile in VS and can run website from VS.
After that set up website in IIS manager on production server. Copy all website files to home folder of website on production server.
Oct 12, 2012 10:41 PM|necro_mancer|LINK
the error message shows that the project is not published properly. Your server is unable to locate certain objects called BrowseWOs.BrowseWO and this is primarily because of the fact that the DLLs are not uploaded properly.
Please go to your VS tool and please make sure you "publish" your site properly.
Please mark this response as an "answer" if it helps you. Thanks heaps!