IIS Configuration :: JScript Serialize Returns Null When Website Hosted On Server?

Feb 25, 2016

when application runs on local machine, it returns data correct, but when website hosted on server then it cannot retunrs data in jscript serialize

C#
JavaScriptSerializer jscript = new JavaScriptSerializer();
List<ListItem> items= new List<ListItem>();
return jscript.Serialize(items);
Javascript
var jsdata = JSON.parse(items);

View 1 Replies


Similar Messages:

IIS Configuration :: Website Slows Down When Hosted On Server

Jul 8, 2013

My asp.net site has very good performance on local ips on all the systems. But it 5 time slow down on live ip.

1. What could be the issue:

Server is not capable? I have checked the ping and it response time is 153 ms for each require on live ip but on local ip it gives < 1 ms response time.

2. I have not compile the solution just copy and paste on the iis and create virtual directory?

View 1 Replies

Configuration :: Website Rendered Differently On IE Only When Hosted On Server?

Oct 19, 2010

I have a strange problem that I am trying to find a solution to or even only know why does this happen. I built a website using ASP.NET, when I run the website locally it looks very normal (I am speaking Style and CSS wise) on all the browsers (including IE8). And when I deploy this website to the test server which has Windows Server 2003 and IIS 6, the applications looks normal too on all the browsers except IE8. I did not try other versions of IE but I have a requirement to have this website working on IE8. Some tweaking on the CSS solves some of the problems but I do not want to go through each and every tiny detail and rework my whole CSS. There are even some problem which cannot be resolved.I have no clue why is this happening. It should be something either with the OS or the application server because those are the only differences between my machine and the server. On my machine I have Windows 7 Enterprise and I was test the website on the ASP.NET development server.

View 3 Replies

Configuration :: How To Redirect Multiple Domain Name On One Website Hosted On IIS Server

Dec 24, 2010

how to redirect multiple domain name on the one website that is hosted on IIS server???

View 2 Replies

Configuration :: Code Is Not Working In Hosted Website?

Mar 9, 2011

i have created a website with a template (CSS Full Site Flash 8) using VS 2010

and after i did host the site to the internet, ASP code didn't work

but HTML code works fine, for example this code for desplaying picture didn't work and the picture is not displaying:

<asp:Image ID="Image1" runat="server" ImageUrl="~/images/photo1.jpg" />

i don't know if it is from the web.config or if i missed something also i notes that the site in is not working in firefox browser (HTML code will appear instead of design) but in internet explorer the design works fine but without the asp controls

View 4 Replies

Configuration :: Encrypting ConnectionStrings On A Hosted Website?

Feb 23, 2011

I have been reading up on encrypting the connectionStrings section of the web.config file and I have noticed that all of the methods embed the cypher key in either the registry or the machine.config file. My site is currently being hosted for me by a hosting company and as such I do not have direct access to the registry (or aspnet_regiis for that matter). I was wondering what options are available to me if I cannot use the usual aspnet_regiis method or am I misreading the posts?

View 4 Replies

IIS Configuration :: JQuery Not Working When Website Hosted In 5.1

Aug 20, 2013

Asp.net Javascript Countdown clock timer for each row of gridview( [URL] ).Its working fine forme.

After placing iis 5.1. its not working. let me know what is the problem of this code.

View 1 Replies

IIS Configuration :: Website Hosted Not Working Without Default ASPX Page

Oct 22, 2013

We recently changed our server.

If I write www.abc.com it is not working but if i write www.abc.com/default.aspx it start working.

When I write www.abc.com 

It is showing this page

Parallels

Parallels Plesk Panel

© 1999-2012. Parallels IP Holdings GmbH.All rights reserved.

View 1 Replies

Configuration :: Is A Content Delivery Network Worthwhile For A UK Hosted Website With Predominantly UK Based Traffic

Mar 15, 2011

Is it worth while considering a CDN for a UK hosted site with mostly UK traffic.

The server is in London, so I am not sure if it would be worth it as I guess any CDN server is just going to be in London as well?

Am I right in thinking that CDN is really only applicable for US websites (due to the geographical size of the country) and global sites?

View 1 Replies

Mock Server.HtmlEncode - Returns Null Reference?

Nov 16, 2010

I'm trying to mock Server.HtmlEncode(), but I keep having a null reference exception.I'm pretty new to the Moq framework, here is my code:

var context = new Mock<HttpContextBase>();
var request = new Mock<HttpRequestBase>();
var response = new Mock<HttpResponseBase>();
var session = new Mock<HttpSessionStateBase>();
var server = new Mock<HttpServerUtilityBase>();
server.Setup(svr => svr.HtmlEncode(It.IsAny<string>())).Returns((string s) => s);
context.Setup(ctx => ctx.Request).Returns(request.Object);
context.Setup(ctx => ctx.Response).Returns(response.Object);
context.Setup(ctx => ctx.Session).Returns(session.Object);
context.Setup(ctx => ctx.Server).Returns(server.Object);

I've also tried the following:

context.Setup(ctx => ctx.Server.HtmlEncode(It.IsAny<string>())).Returns((string s) => s);

I've found a solution but it seems an outdated solution as expect is replaced with setup.

View 2 Replies

Configuration :: Application Developed In 2.0 To Be Hosted On Server With 3.5?

May 8, 2010

I have an ASP.Net Ajax application that has been built on .net 2.0. My company recently installed a brand new server which has .net 3.5 installed. Is it possible for me to host my application on this server without the .net 2.0 ?

View 1 Replies

Configuration :: Read Webconfig From The Hosted Server?

Dec 27, 2010

I am facing strange problem. I have a database connection string in web.config. I am not able to read web.config file. Its perfectly working in our server and my system also. After hosted in outside server, i am not able to read web.config file at all. What could be the problem.

View 18 Replies

IIS Configuration :: RDLC Report Not Working When Hosted On Server

May 7, 2015

i have created RDLC Report and tested on my system its working well but its not working when i am uploading these files on server i-e on my domain. My Code:-

.ASPX

<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
</div>
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="956px">
<LocalReport ReportPath="~/Admin_AR315_Report.rdlc">

[CODE]...

View 1 Replies

AJAX :: Control Toolkit Not Working When Website Hosted In IIS Server

May 7, 2015

I am using most of the Ajax Control, but when I deployed it in IIS. It is not working.

View 1 Replies

IIS Configuration :: Multiple Attachments Getting Removed From Email When Hosted On Server

Jun 25, 2013

I have tried with your pice of code(Published date : sep 16, 2012) to send multiple attachments in asp.net. On my local machine it is working perfectly. When I host my application on server, mail contains attachment(Single or multiple both) is not sending. Attachment and remove files for attachments are working properly but attachment mail is not sending on server.

View 1 Replies

IIS Configuration :: Unable To Login With Simple Form When Hosted In Server

May 7, 2015

Why I can't login after I deployed in IIS?

[URL] .....

View 1 Replies

IIS Configuration :: Site Runs Locally But Page Does Not Open When Hosted On Server

May 7, 2015

I have a site (URL...) which loads and runs fine locally on the server itself, but when I try to access this externally from outside of the server (and firewall) will not load. In Safari for example, I get the message "Safari could not open the page because the server stopped responding".I have other sites on this server that do load and operate fine so I don't belive this is a Firewall issue. One thing I did notice however is that when the error message appears, it seems like the site is trying to change the protocol from http to https.

I'm trying to debug this to find out what could be happening. I've tried looking into the IIS logs as well as the Event Viewer but I see nothing. I have even tried to turn on Failed Request Tracking but no errors are logged.

View 1 Replies

IIS Configuration :: Unable To Connect To SQL Server Database Hosted In Shared Hosting

May 27, 2013

i have database that is stored on local.user should also be able to upload the database to online server . i am able to save it on local .But it is not saving on server.It shows request time out. Is it due to server not allowing external access.

View 1 Replies

IIS Configuration :: AJAX CascadingDropDown DropDownList - Method Error 500 When Hosted In Server

Dec 21, 2013

Regarding this example: [URL] .... it works locally, within VS 2012.

But when I publish to a local or remote webserver, it doesn't show an error, but the dropdown lists are populated with this line: [Method Error: 500].

View 1 Replies

Web Forms :: Microsoft JScript Runtime Error On Page - "null" Is Null Or Not An Object

May 17, 2010

m getting this error again and again. i m also using the ajax modalpopup extender in my page ..

View 3 Replies

Web Forms :: Microsoft JScript Runtime Error - "null" Is Null Or Not An Object

May 13, 2010

My site was woking fine, now i noticed that i get an error "Microsoft JScript runtime error: 'null' is null or not an object" when i checked the view source, i saw the following system generated code

<script type="text/javascript">
var Page_ValidationActive = false;
if (typeof(ValidatorOnLoad) == "function") {
&nbsp;&nbsp;&nbsp; ValidatorOnLoad();
function ValidatorOnSubmit() {
&nbsp;&nbsp;&nbsp; if (Page_ValidationActive) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return ValidatorCommonOnSubmit();
&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp; else {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return true;
&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WebForm_AutoFocus('txtMailAddress');// --> IS THIS RIGHT???? out side the braces???
</script>
</form>
</body>
</HTML>

and a reference to this line below

<IFRAME id="__hifSmartNav" name="__hifSmartNav" style="display:none" src="/m2qa/WebResource.axd?d=fvL5WUdiCo1B4KvdiJfkfg2&t=633546432952161750"></IFRAME>

View 3 Replies

IIS Configuration :: Crystal Report Viewer Execute In Medium Trust Level On Hosted Server

Jul 17, 2015

Web hosting provider has set the .net trust level as Medium. so report viewer & crystal reports are not working. it required full trust.so is it possible to execute the reports in medium trust? and how?

ReportDoc.Load(Server.MapPath("~/Reports/Proposal.rpt"));
DataTable dt = cm.DisplayUserInfo("select * from tblProposal_Master where proposal_id='000006'").Tables[0];
ReportDoc.SetDataSource(dt);
CRV.ReportSource = ReportDoc;
CRV.DataBind();

View 1 Replies

Security :: VS2008 Development Server (local Host) & Hosted IIS7 Site Different Configuration - How To Test Application

Mar 19, 2010

How can I test an application that I am publishing to a remote provider's IIS7 hosted site, with the VS2008 development server that is built in with VS2008 on an XP Machine?

My membership/roles work perfectly up on the remote host. On ths hosted IIS7 site when I try to access a secure directory it redirects to login, and I am able to login, however when I launch (debug - F5) from VS2008, it will provide that folder/resource, no questions asked. Same build, config, etc... nothing has changed.

I am running XP, and local IIS version installed is 5.1.

My guess is what is happening is that the new format required in the web.config is configured properly for IIS7 deployment, which is why it works remotely, but when running locally through VS2008/XP it is running with an older version on IIS and does not recoginize the new tags.

View 3 Replies

Web Forms :: Routing 4.0 / Deploy Website On A Remote Server ( Integrated Pipeline ) It Returns With 404 Error?

Sep 8, 2010

When I run my website on local server asp.net routing works very well, but when I deploy it on a remote server ( asp 4.0 integrated pipeline ) it always returns with 404 error.

My url route is very simple, a stored procedure gets image's id and then displays it.

Global.asax:

[Code]....

Default.cs:

[Code]....

View 6 Replies

Microsoft JScript Runtime Error - 'keyCode' Is Null Or Not An Object

Oct 9, 2010

I had to exclude several pages from my website to get it to run in vs 2008. When I finally got the home page to come up, I tried to type a character into the login box, and at the first character the probelm blows up:

Microsoft JScript runtime error: 'keyCode' is null or not an object

This is insanse. This is the page I'm on when it crashses. Does this have something to do with ajax?

[Code]....

View 3 Replies







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