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


Similar Messages:

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 Works Fine Only On Local Server?

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

Configuration :: Website Published From A Copy Of A Project Fails With "resource Cannot Be Found" Error

Mar 28, 2011

In an obviously misguided effort to keep versions of a site built through vs2010 .aspx vb I copied the entire visual studio 2010 folder from its default location on my local pc to a folder on a network. I then opened the network folder version of the project in VS, made a small change to some text, built the site sucessfully and published the site sucessfully to the same place the original site was published to. However, when I try to access the site I get the "resouce cannot be found" error. In a bit of a panic I opened the original project in VS and published it...no problem the site comes up. What am I doing wrong?

View 3 Replies

Configuration :: DLL Works On Local IIS But Fails On Production Server?

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

IIS Configuration :: Website Working Fine On Local But Does Not Work On Server

Jan 4, 2013

In my site on every load some session is made through url and single page(say xyz.aspx) is call every time and on the basis of url we create session. When i click on a href tag , page start reloading ,url we created is accurate but data doesn't change every time, means some time it show data on first click, but some time after 3 or 4 click.

I say problem is weird because when i run this on my local server there is no problem, when i run this on my project (visual studio) there is no problem , but when i up this project on my online server it show this kind of error but not every time .

I use data caching to fill dataset. There is no problem in this website since we created this (more than 1 year) and we don't made any change on this page but suddenly it starts showing this kind of error so what kind of error this is.

View 1 Replies

Web Forms :: TypeConverter Fails In ASPX, Works Fine In Console Application?

May 28, 2010

I have a TypeConverter (I followed this example to a 'T' ). It works perfectly within a console application but I get the dreaded "Unable to generate code for a value of type 'className'. This error occurred while trying to generate the property value for...".This appears in the Event Viewer as a "HttpParseException" with a description of "A parser error has occurred."

This occurs ONLY if I attempt to set the Property implementing the TypeConverter Attribute from within the ASPX, if I don't set the Property the page loads fine. Trouble is, becuase it is a Parse Error I am having a heck of a time debugging.

Again, this works fine within a console app, but only fials when used within an aspx app.

View 2 Replies

MVC :: The Code Works Fine On The Local Devbox?

Aug 2, 2010

I have ran into an issue that has me stumped. I have a jquery / javascript function that loads when my site is loaded. It calls a service in my project and returns a string of data.

[Code]....

The code that handles the web method is shown here:

[Code]....

This is something I have done similar multiple times. The problem however is the code works fine on the local devbox how ever when I move the project code to the prod box I get a response back with the following:

[Code]....

One note this is the first time I have done this targeting .Net 4.0. Is there an issue with relative url's using .Net 4.0, or VS 2010 that I have missed?

View 4 Replies

Application Works Fine In Local IIS But Not In Remote

Jan 25, 2012

So, I've been working on an app that extracts a picture from an ole field in an old access xp db, converts it to a jpg picture, and saves it to a folder to be presented to the user.

After tweaking some permissions on the local iis, the application works fine.

In the remote one however, the application doesn't extract the picture as expected.

I'm using two dlls on there, although I don't know why it wouldn't work.

View 3 Replies

HttpHandlers / Modules :: Global.asax 301 Redirect Fails On .HTM Files, But Works Fine Elsewhere?

Mar 4, 2011

I just bought an old domain name and am looking to redirect as many old URLs as possible to acquire backlinks intended for the original owner for pagerank reasons. The original site had a lot of static pages ending in .htm which need to be redirected to directories. I use httpcontext in my Global.asax file to initiate 301 redirects and this works great on folder names or .aspx files, but whenever I try to redirect a .htm it fails.

Sample code:

if (HttpContext.Current.Request.Url.ToString().ToLower().Contains("http://www.example.com/oldpage.htm"))
{
HttpContext.Current.Response.Status = "301 Moved Permanently";[code]....

I also tried using my Parallels H-Sphere interface provided by my hosting company to do a IIS redirect, but whenever I hit submit the page just starts an infinate loop of sending a request.

View 7 Replies

Web Service Returning Xml Data Using Jquery Works Fine On Local But Not On Server?

Jan 4, 2010

I am having a webmethod that returns some data.I'm using jquery to call that function with its Content type specified as XML.The problem is that it is working on local machine but not on server.The code i'm using is:

var arrInputs = pnl.getElementsByTagName("input");
str = arrInputs[0].value;
$.ajax({[code]....

Ajaxfinish is defined afterwards and it works fine on local.Is there some more settings i need to do to make it executable

View 1 Replies

Configuration :: Network Drive Mapping Works In IDE, But Not On Published Site?

Apr 27, 2010

I am able to save documents to a network drive from my c# asp.net application when it is run from my developmet machine, but not when the application is deployed to a website. Below I list the code that makes the call to map the drive the class is a standard class for this purpose. Can anyone help me figure out what is wrong?CODE:

The code that instantiates the mapping class
NetworkDrive drive = new NetworkDrive();
drive.ShareName = @"\38.186.8.244Docs";

[code]....

View 8 Replies

Security :: Website Not Allowing To Login Through IE But Works Fine With Firefox?

Aug 6, 2010

I have an ASP.net application hosted on Win2003 server. When I set the Authenticated Access to just Integrated Windows Authentication, IE7 & IE8 started failing in loging into the site with an error 401.1 ("You are not authorized to view this page"). But Firefox has no issues in loging into the site. why IE is failing to login with Integrated Windows Authentication where FireFox works perfectly?

View 1 Replies

Configuration :: Session Value Becomes Null On Deploying - Works Fine With Development?

Aug 16, 2010

My Session gets null after redirecting to other page,

Below written is my code in login page:

protected
void btnLogin_Click(object
sender, ImageClickEventArgs e)
{
// saving login history calling submit function to save login details in database
callsubmitfunctionofDatalayer();
//saving session
Session["Username"] = txtUsername.Text;

[Code]....

View 3 Replies

Configuration :: Code Works Fine On Test, Crashes On Server?

Nov 5, 2010

I can't believe the number of issues that seem to work fine on test but completely crash and burn on production.I have a situation where the code works fine in the test/development environment, but when you press a button in production, it crashes with:

[Code]....

Its just a button push, that is suppose to rebind a quantity change back to the database that the user has changed in a textbox in Gridview Edit.

[Code]....

[Code]....

View 3 Replies

Multiplying Database Value Works Fine On Offline But When Upload Get A Error

Mar 24, 2011

I have a website with a button.Everytime I press that button I want to multiply the number I have in the database by one.It works perfectly offline, but as soon as i upload it i get this error:

Code:
protected void btnthumbdown_Click(object sender, ImageClickEventArgs e)
{
int countdown = 1;
countdown += Convert.ToInt16(lblcountthumbdown.Text);
OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("App_Data/DataBase_J_Wall.mdb"));
con.Open();
OleDbCommand cmd2 = new OleDbCommand("update MAIN_TBL set Person_Thumbs_Down='" + countdown + "' where Person_Email='" + lblemail.Text + "'", con);
cmd2.ExecuteNonQuery();
con.Close();
Response.Redirect(Request.Url.ToString());
}

View 2 Replies

Javascript Error In Internet Explorer But Works Fine In Firefox?

Sep 1, 2010

i was working on one of the project as it is working fine in Firefox but it is giving the javascript exception in internet explorer.Errror: Error says "s" is undefined in the s.currencyCode="USD" line but "s" is defined in the external javascript file s_code.js

<script type="text/javascript" language="JavaScript" >
var s_account="mnsdev"
</script>
<script type="text/javascript" language="JavaScript" src="http://media.world.com/ads/usen/rpt/Omniture/s_code.js"></script>
<script type="text/javascript" language="JavaScript" >
s.currencyCode="USD"
[code]...

View 10 Replies

Website Works Correctly On Localhost But Fails Sometimes Online

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

AJAX :: Application Is Working Fine In Local, But It Is Giving JavaScript Error After Deploy In Dev Server

Jul 19, 2010

I am working on ASP.NET Ajax site. Application is working fine when I run in my local machine, but same code if I place in Server then it is giving "SpanID is undefined" Javascript error. I found error is due to UI.dll file.

View 2 Replies

Configuration :: Login Works On Local Machine But Not In Production?

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

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 :: COM Component Not Working In Published Website?

Sep 12, 2010

I`m using Microsoft office document imaging library (MODI) in my web application.

I`ve a page where a user uploads an image file and the server code converts this image into text form using MODI. Everything works fine when the website is running through visual studio but when i run it through local iis then i receive an exception.

my code is:

[Code]....

The code is perfectly fine because it works fine through visual studio otherwise when run through IIS i receive an exception at the last line written above saying.

Object isn`t initialized and can`t be used yet.

i didn`t catch the exception at last line because trying to figure out whats exactly wrong.

View 2 Replies

Configuration :: IO Functionality Not Working On Published Website?

Mar 17, 2011

I am writing some IO functionality into my ASP.net page (C#). Basically what Im trying to do is, to get a list of file/folder names from a network share and display them on the webpage.

It works great in my DEV environment, on my machine, but it does not work on the published version on my IIS machine. I have not been able to get it to throw an error (I'll keep trying in the meantime). But, it would seem to me that it is some sort of permissions issue. I have given the ASPNET user admin access on the network machine, that the folder share is located. I have added NETWORK SERVICE (with FULL access) to the security rights of the shares Im trying to access.

View 5 Replies

Configuration :: How To Change Or Edit Published Website

Jul 22, 2010

how can i change or edit Asp.net published website. i hve onle published files. i dont have pe published files

View 1 Replies

Configuration :: App Works Well On Local Intranet, But Having Problema On External Access?

Nov 3, 2010

App works well on local intranet, but having problema on external access?

View 4 Replies







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