Configuration :: WebSite Works But Web Application Does Not?

Aug 9, 2010

I created a web application (VS 2008 + SP1) and deployed it on my shared hosting with ASP.NET 2.0 support. I started getting errors

could not load type <page class name>

I tried resolving it but it did not work. The hosting provider told me that they have full support of .NET 2.0 framework. I tried a few inline code samples and they worked fine. Then I again deployed a small compiled website project and it also worked fine.

I dont understand. why is that when i deploy a web application project it fails and if i convert the same thing into website project it works.

View 2 Replies


Similar Messages:

Configuration :: Converted Website To 4.0 - Nothing Works

May 26, 2010

I am running on Windows Server 2003. The former site was a .Net 2.0 website built using VWD 2005 as I recall. I downloaded VWD2010 and upgraded the project (from the fileset on the server). Initially I got an error stating: 'Unrecognized attribute 'targetFramework'.

I went into IIS, clicked properties for my application, and set the ASP.NET version to: 4.0.30319. When I restarted IIS, the project could not find any of the 'pages' (i.e., Page Not Found) for all pages. I ran: aspnet_regiis -i Essentially, the web server acts like the application doesn't even exist with the 'Page Not Found' error. I'm sure this has to be a simple issue - but I can't figure it out so far

View 3 Replies

Configuration :: Application Works In Test But Not Production?

Oct 18, 2010

So my application worked great on my computer but as soon as I try and put it in production....I'm getting all sorts of issues.

[Code]....

This is the top of Default.aspx.vb.

[Code]....

View 10 Replies

Configuration :: C# Web Application Works In Debug But Not When Deployed To IIS?

Oct 27, 2010

I know there have been countless posts on these types of problems, and I have read through alot of them as well as doing Google searches, but I have not found anything that applies to my specific situation. If anyone has posted a similar question link me to the post with any appropriate derisive comments . Mods if this is the wrong forum feel free to move the post to the appropriate location.

I am a newbie C# developer. I have been getting my feet wet writing a C# web app for my department. I am using the following system:

Windows 7 Professional Visual Web Developer 2010 Version 10.0.30319.1 .Net framework 4.0.30319. IIS version 7.5.7600.16385 Internet Explorer 8.0.7600.16385CO SQL Server 2008 R2

When I run my application in the VWD debugger everything works fine and looks the way I want it to work. When I deploy to IIS (which is on the same box that I develop on) I start having some issues. Here is a breakdown of the problems I am having:

I have an asp:menu control with orientation set to horizontal. When I initially load the sitre after a deploy the menu displays correctly. But when I go to a different web page in the app the menu switches to vertical and the width of each menu item spans the width of the div that surrounds it. On the same page that causes issues with the asp:menu I also have asp:ComboBox controls that are used to filter information on the page. The combo boxes just look like text boxes. The data that should populate the boxes is not present.

I also have some ajax accordion controls contained in asp:updatepanels, neither of which work. The accordion controls are all expanded, and I cannot collapse them. If I trigger an update the entire page reloads instead of just the specific control.

I do not receive any errors when I browse to the page that causes the problems. It loads just fine everything is just jacked up. Like I said, everything works flawlessly in the VWD debugger. I know the VWD debugger does not use IIS, which makes me think this is an IIS issue, but I do not even know where to start to pinpoint the problem.

View 3 Replies

Configuration :: Local Works Fine But Published Website Fails With Error?

Dec 7, 2010

I have a solution that has 2 projects in it... Project #1 is a class I created some time back to deal with the basic data connection and passing data back and forth.

The 2nd project is the new current project (web site).

Everything works fine in local mode but after I have compiled Project #1 and created a referance in Project #2 then compiled Project #2 and published to the server...

I am running on Windows 7 64bit, .NET 4.0, Access 2010, SQLExpress (loging only), C#... I have rebuilt Project #1 several times as an x86, AnyCPU, and x64... they all give the same result...

I get the following error when the web site is run.

[Code]....

View 4 Replies

Configuration :: Website Works Fine Locally But Makes Error On Shared Hosting?

Apr 20, 2010

The error is mentioned below, the cssfriendly.dll is in bin, and browser file is in there app_browsers folder. And it is working in same PC (developping PC), on remote server that belong to my company (i just installed .net 3.5 on that server)

I tried uploading the same site on 2 dufferents hosting, and finally i got the same error. What could gone wrong ? I tried contacting the hosting support but they work in ticketing system and this is extremely slow.

Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load type 'CSSFriendly.MenuAdapter'.

Source Error:

[Code]....

View 4 Replies

Configuration :: How To Deploy An Application Containing A Website And Console Application On IIS

Jul 20, 2010

I have an application which has a website and a project. The project contains an executable file which I'm trying to run as a process from the website's Global.asax file's application_start(). When I run this application from localhost, everything runs smoothly but when I deploy the application on IIS, application_start's code is executed and I can see the process name in the taskmanager but I cannot see the window which the console application normally starts in (when i run the application on localhost) and neither is the code executed.

Here's what I'm doing:

-- copied website and project in wwwroot
-- made a virtual directory of the website
-- when i run the website, I see the process in taskmanager but the code is not executed.

I am new to deployment and IIS, and would really appreciate I someone could tell me what i'm missing

View 2 Replies

Configuration :: Difference Between Website And Web Application?

Sep 9, 2010

tel me the exact difference between web application and website..

what is the application of each..

View 3 Replies

Configuration :: Publishing Web Application To Website?

Nov 29, 2010

I am trying to move my web application from my computer to a server by publishing as a web site. But, after publishing, the user controls defined in the designer files are no longer recognized by the code behind.

View 5 Replies

Configuration :: Published Web Application (website) Not Working

Jun 22, 2010

I have developed an webapplication with some jquery and ajax (client side validations), it works fine when run locally.

But when i publish it to the IIS, the client side execution is not taking place.

Do I need to tweak the IIS to make it work.

I am using VS2008 and .net framework 2.0 on a winxp machine.

I am trying to publish to the local IIS (5.0).

View 4 Replies

Configuration :: Adding Application Extension To IIS Website?

Jun 8, 2010

I am trying to find out if their is a way to Application Extension in Application Configrautions screen using Dos prompt. I am trying to develop a installer where i need to register the DLL file to application extension using Dos prmpt ?

View 1 Replies

Configuration :: Publishing Website / Application On Localhost

Nov 16, 2010

How to publish the website/application on localhost and what should be entered in browser while accessing it from localhost

View 1 Replies

Configuration :: Moving From Mixed Language Website To Web Application?

Jun 4, 2010

We have a web site with pages written in both vb and c#. We wish to move from a web site to a web application. As a web application cannot mix languages, my thought was to build two separate applications within the same solution and have the main(c#) reference the secondary(vb) and (somehow) copy the vb pages into corresponding places in the c# directory structure at build time.

View 1 Replies

Configuration :: Hosting Mobile Website Application On Iis 5.1 Server?

Oct 6, 2010

My machine is having Windows XP service pack 2 and IIS 5.1 how to host the asp.net mobile application website.

We cannot create a new site in iis 5.1.Even though i did some settings by following the same settings for windows 7 but it is not working.

Also provide any links which illustrate mobile website hosting settings.

is the hosting settings differ from mobile to mobile.Our application is designed for iPhone.

View 3 Replies

Configuration :: Editing Web.config Of Live Website (application)?

May 11, 2010

What will happen if we edit the web.config file of a live application ?

What steps should be followed to edit it on live environment?

View 5 Replies

Configuration :: Tried To Add To My Existing Website, A Virtaul Path To The Webapplication Und Converted To An Application?

Aug 5, 2010

i have registered a domain and in IIS 7.5 created a new Website for this domain. It works great the ASP.NET website (BlogEngine), now i wanted to add another ASP.NET webapplication to call it something like this:[URL]I tried to add to my existing website, a virtaul path to the ASP.NET webapplication und converted to an application. after calling the URL i get an exception, that i could not load an assembly of the website (mydomain) : Could not load file or assembly 'BlogEngine.Core' or one of its dependencies. The system cannot find the file specified.

View 1 Replies

Configuration :: How To Find Web Site Administration Tool (WSAT) In Web Application And Not On Website

Feb 8, 2011

Is anyone able to see Web Site --> ASP.NET Configuration if you are creating a web application using File --> New Project --> Visual C# --> Web. If so, how and where?

Base on what I've tried, the menu Web Site --> ASP.Net Configuration appears only if you create a website by File --> New Website.

What I am actually trying to find is the Web Site Administration Tool (WSAT).

View 5 Replies

How To Fix Website That Works In IE6, To Work In IE8

Jan 15, 2010

ix a ASP.NET website that works in IE6, to work in IE8 browser. I added the EmulateIE7 http header to IIS6 as short term fix, but still the pages are not displayed correctly. the web app was initially designed and developed for IE6, now we are upgrading to IE8, so is there any quick fix available for IE6 website to display correctly in IE8? I thought the EmulateIE7 works for both IE7 and previous versions as well, is that not correct?

View 1 Replies

Configuration :: Running Framework 2.0 Application Within Framework 4.0 Website

May 18, 2010

I host a website that has recently been upgraded from .NET Framework 2.0 to .NET Framework 4.0. Within the website, I have an instance of BlogEngine which still requires .NET Framework 2.0. Each website is in it's own application pool. My issue is that when I browse to the blog portion of my website, I receive a 500.19 error with the following information...

The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration The web.conf file that is listed in the error message is the config file that belongs to my root website which is running .NET Framework 4.0. How do I get the two websites to run together in the same website using different versions of the .NET Framework?

View 2 Replies

How The Default Website In VWD 2010 Works

Jul 6, 2010

Ok, this might sound as a silly question, but I am a newbie without experience, and I am curious how stuff works, I am not for the "just works".

The default website generated by VWD2010 is documented somewhere? I searched in MSDN but no luck.

If i understand how it works, it would be better, to understand how login is implemented, the master page, and so on.

View 2 Replies

Configuration :: Web Page Works With Localhost But Not With IP

Mar 26, 2011

I have a simple asp.net web page that lists and inserts records into an access db. It works fine by pressing F5 to run in the VS 2008 IDE (Localhost:port) but won't work when it is published. The log shows this error 500 0 0 207.

View 5 Replies

Configuration :: VB.Net IF Function Works On One Server But Not Another

Aug 27, 2010

I have two web servers plus my desktop. I use Visual Studio 2008 to generate asp.net pages. I put a statement like:

response.write("Testing if function: " & if(0>1,"true","false") & "<br />")

in a code-behind file (test.aspx.vb). When I type it, Intellisense clearly recognizes the IF function and gives me guidance on the two overloaded versions. When I Build the page, it gives no errors, but when I View in Browser, I get an error: "BC30201: Expression expected." with the compiler details pointing to the IF. When I run the page on my test server, I get the same result, but when I run it on my production server, it works just fine.

View 5 Replies

Configuration :: Menu Works Locally But Not On Server?

Oct 8, 2010

I have a menu that uses a sitemap. The menu works locally, but not on the server. Below is my code for the menu, data source, and the sitemap. why I can run it locally and use the menu, but I cannot use the menu on the server?

[Code]....

View 9 Replies

Configuration :: Web Service Works Locally But Not When Deployed?

May 28, 2010

When I deploy my web service, I get the following error:

There is no build provider registered for the extension '.svc'. You can register one in the <compilation><buildProviders> section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute attribute which includes the value 'Web' or 'All'.

I found one thread ([URL] that a solution but, I can not get it to work. If I make the changes to my web config file as in the thread, I then get a configuration error. One odd thing is that, if I check the machine.config file on my machine, located at C:WINDOWSMicrosoft.NETFrameworkv2.0.50727CONFIGmachine.config, I don't see any of the config settings described in the thread. As a matter of fact, there is no mention of "compilation" or "buildProviders" at all.

Here is my entire config file listing:

[Code]....

View 2 Replies

Configuration :: Silverlight Works On Localhost But Not On LocalIP

Jun 9, 2010

I am using IIS5.1 and my silverlight application works perfectly when I access it by typing localhost on my browser but for some reason when I type in the IP address of the system all I see is the layout of the website but no data from the database is transferred to the datagrid. The silverlight application is simple and uses linq to sql to retrieve data from the database (through WCF service) and displays it using silverlight datagrid.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved