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
Similar Messages:
Nov 20, 2010
In one of webforms user must enter the percent of tax and then I convert it to the float number and finally save it into database. here is a sample:
Dim txtMyPercent
txtMyPercent=Convert.ToSingle(txtPercent.text)
label.text=txtMyPercent
insert into(txtmypercent)
This peice of code, works perefect while runs via Visual Studio 2010, however after publishing, numbers are converted to integer. Thus it can't be inserted into Sql server database .... Server OS: Windows 2003 x64 IIS: 6 .Net Framework: 4.0
View 2 Replies
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
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
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
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
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
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
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
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
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
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
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
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
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
Oct 17, 2010
VS2010 - FW 4.0 - C#
My Global.asax
[Code]....
My web.config
[Code]....
Link for TEST: [URL] (Pls, click in button "Contato" -> [URL]
Error Summary
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
View 1 Replies
Jun 22, 2010
i got this error on live server after uploading. On local server it's working fine Unable to validate data.ource:
System.WebTargetSite: Byte[] GetDecodedData(Byte[], Byte[], Int32, Int32, Int32 ByRef)
StackTrace: at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength)
at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString
View 6 Replies
Nov 11, 2010
I have a website created with vs 2008 using 3.5 framework.When i do any changing int he code I used to do build website,add webdeployment,then build soultion.I go to deployment folder / release/bin/ .dll and use this file to update the previous dll file i have on the server. Now i am migrating to .net 4.0 on vs 2010. I opened my project in vs 2010 and by itself it migrated it.Then i created webdeployment. I noticed in the deployment folder i have an "obj" folder that also contains the dll file other than the one in "Release" folder.
Now what do i have to do?Can i do the same?take the dll that is under release/bin or or the one under objReleaseTempBuildDirin ? And on the server do i have to install vs 2010 so it works?or downloading .net 4.0 framework is enough?
View 1 Replies
Mar 3, 2011
I have the following problem, I make a web site when I run this website (locally) I get the correct data (for example I have a set of cities according to the city selection, I get the required data), but when I publish the web site and try it on line (I get incorrect data under the same conditions I tried before locally). I don't know what is the problem, I need to trace the code online (debug the code on line) to know where the problem. Is there any suggestions how to treat case like this, code works in correct manner locally but fails sometimes online? I use (https) online. I use static variable (supposed not to be changed) but online the value of this variable is changing and make this problem.
View 3 Replies
Aug 17, 2010
i have written in the "Application_BeginRequest" Method that the header of every HTTP Request will be analyzed.
It only works when i visit the myip/default.aspx site. But when i want to visit any other site there will be no entry in the database or in the listbox (the listbox is only for me to see what happens)It runs on an IIS 5.1.
I also changed in the IIS Settings the ASP.NET from 2.0 to 4.0. Do i need to configure the IIS 5.1 to use the global.asax.cs on every url?
I thought the global.asax.cs runs on every site on the webserver.
[code]....
View 4 Replies
Jul 14, 2010
I have used a dll named MARCEngine, which is used to read Marc data. I use a method named MARC2MARC21XML which converts a normal marc file to an XML file.
The problem is it works great on my local IIS, but when I upload it to the production server, it only generates the root node and not the child nodes.
Here is a snippet of my sample page :
[Code]....
Asp.net has the permissions to access the files geneated.
View 1 Replies
Sep 1, 2010
Here is my problem: I have created a login form on my local machine. I have tested it on the local machine and it works fine. But when I push it to production it doesn't work.
I set-up the web config file so that the system uses the production database even from my local machine. I used the Web > AspNet Configuration tool in Visual Web developer to add a user to the production database. I used Sql studio management studio to confirm that the user was in the production database and not just on a local database. I have removed all references to the local database. I even deleted the entire app_data folder on my machine so that there was no chance that I am using a local database.
To create the login, I dragged a login component onto my Login.aspx page from the toolbar in visual web developer.
Why can I log in just fine on my local machine, but when push everything to production and I try to log in as that user I get the error message "Your login attempt was not successful"
View 3 Replies
Oct 18, 2010
When a user opens the my web app then immediately opens clicks on a button to open another, related page (page opens in a separate window (users choice) via a button), the new page opens fine. If a user open the my web app and waits a bit (usually abouta minute) before clickin on the button to open another page, they get the 'Page Not Found' error. When I run this app locally (local host), I have no problems.the server can handle, why does this happen only after the user waits to open the other page.
<httpRuntime maxRequestLength="2097151" executionTimeout="3600" useFullyQualifiedRedirectUrl="true"/>
<sessionState mode="InProc" timeout="480" />
View 2 Replies
Mar 26, 2011
So my website works great on my local computer. It also works fine when I use the Copy Web Site feature in Visual Web Developer 2010 Express. But I do not want all of my files and the default.aspx to be sitting at the root of my domain name. I want it to be in a subfolder.
So again, it works fine when it's sitting at www.domainname.com
But when I use my FTP program to move the files to:
www.domainname.com/subfolder/
I get an error when I try to visit the site. It's just a general runtime error and does not display the specific error message. It obviously must have something to do with when I MOVE the files/folders from the root of the domain to the subfolder?
View 2 Replies
Nov 22, 2010
I've developed a flash utility for a game portal that i'm building. The swf reads an xml file that contains the most played games. It works on the laptop but in the website
View 1 Replies