AJAX :: Not Working In Production Environment

Nov 29, 2010

I developed a web page using asp.net 2.0 and ajax toolkit on my laptop on Windows 7 and IIS 6. I have my ajax/atlas toolkit DLL in my bin. The updatePanel works fine and does not postback my page. But when i hosted my website on a dedicated server the page postback totally like i have no updatepanel/ajax in my page...

I am using : Windows server 2008, IIS 6Ajax 2.0 installed on the server. I don t understand what is the difference with windows server or IIS or something else?

View 5 Replies


Similar Messages:

Delay In Production Environment To Show Ajax Progress ?

Oct 1, 2010

Is it OK to use threading.sleep in an intranet web application to display AJAX loading (in production environment)? Off course, the application works fine without it but all works too quick for the end user or even a developer to notice any difference.What is the recommended approach ?

View 1 Replies

Production Environment - Calling Stacks In .net?

Jun 11, 2010

I have a procedure in asp.net web site that gives strange result sometimes, I'm thinking to add some code to track it. My question is, in the production environment, is there any way that I can get the calling stacks like the one in the exceptions?

View 1 Replies

VS 2010 - CSS Does Not Load In Production Environment

Apr 9, 2012

In my development environment, my CSS loads perfectly. But when I publish the files to the server, the CSS no longer loads.

Originally, when I had this problem, it was because I was denying access to unknown users for all directories. It was also occurring in both environments.

When I fixed that, the CSS started working just fine. But when I publish it to the server, it no longer works.

The website appears to function. I can log in, navigate pages and everything. It's just that the CSS doesn't work.

I checked the permission on the directory and it has access to NETWORK SERVICE, the admin account and IIS_IUSRS.

View 5 Replies

Localization Works On Localhost But Not In Production Environment

Jan 20, 2011

I have this website with english and portuguese support. In localhost everything works fine and the content is translated based on the querystring parameter named "lang". This chunk of code makes the trick in every page:

protected override void InitializeCulture() {
SetCulture(); } private void SetCulture() {
var logger = Util.GetLogger();
string lang = Request.QueryString["lang"];
if (string.IsNullOrEmpty(lang)) { lang = "pt-br"; }
string sessionLang = (string)Session["lang"];
if (sessionLang != lang) { Session["lang"] = lang;
} logger.Log(string.Format("Culture {0} found",lang));
UICulture = lang; Culture = lang;
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(lang);
Thread.CurrentThread.CurrentUICulture = new CultureInfo(lang);
logger.Log(string.Format("Cultura {0} set", lang));
base.InitializeCulture(); }

Thanks to the logger I can say for sure that this method is called in both cases (production and localhost). I have two resources files in App_GlobalResources folder:
-WebSitemapGlobal.en-us.resx;
-WebSitemapGlobal.resx;

View 1 Replies

C# - Getting CS1502 Compiler Error On Dev Environment But Not Production?

Apr 29, 2010

When I try to run my ASP.NET app from my development environment I get the following error message: Compiler Error Message: CS1502: The best overloaded method match for 'mmars.Printing.printFunctions.SetPrintSummaryProperties(mmars.contextInfo, ref mmars.Printing.printObjSummary)' has some invalid arguments.

When I publish and run on our production server I don't get this error.It seems to compile fine when I build from the build menu (in fact if I change the second argument of the bolded function call below, i get a compiler error in visual studio), but now i've suddenly started getting this error message at runtime. So another question I have in addition to getting rid of the error is why is the .NET development server even trying to do JIT compilation on my project if it is already compiled into a DLL?

Printing.printObjSummary myPrintObj = new Printing.printObjSummary();
Printing.printFunctions.SetPrintSummaryProperties(ci, ref myPrintObj);
printObjects.Add(myPrintObj);

Also, though there are no warnings at compile-time, when I get redirected to the page with that first compilation error there are many warnings like the following:

Warning: CS0436: The type 'mmars.MMARSSummaryDataItem' in 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
oot3dad423c40569048App_Code.b0rgpkzr.4.cs' conflicts with the imported type 'mmars.MMARSSummaryDataItem' in 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
oot3dad423c40569048assemblydl37179c19a345f948c_ece7ca01mmars.DLL'. Using the type defined in 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
oot3dad423c40569048App_Code.b0rgpkzr.4.cs'.

What's the deal with that? Is the webserver complaining about name conflicts in the source file and dll resulting from the source file?

View 2 Replies

ADO.NET :: Entity Framework - How To Update A Running Production Environment

Feb 21, 2011

I have read some articles about the new enitity framework and I think it looks very cool from a development perspective.

considering a production environment loaded with data. How does one apply changes to the model? You cannot regenerate the model and in most large organizations, database changes are executed by DBS's and not developers. In such situaitons, it is the role of the developer to develop delta-scripts that the dba can execute.

My experiense with Hibernate (Java) and the like is that you have to pay double when using such frameworks.

View 2 Replies

MVC :: Ajax Call Not Working On Production Box - Using 2

Oct 4, 2010

The following .post command in a .js file works fine in Dev and Test but not on our production box (Windows Server 2003). I believe the URL is not being found on the production box since the function(result) is not being run. Or it could be that the index method is not returning the jsonresult.

[Code]....

Site.Master

[Code]....

View 5 Replies

Secure MVC Code When Deploy Applications To The Clients Production Environment

Jul 3, 2010

I am developing 2 Applications. One WebForms and the other is MVC. How can i secure the code such that when i deploy them to the clients production environment, they cannot be simply picked up, copied and repackaged by someone else?. I simply need a way to protect my intellectual property. Can this be done in Visual Studio 2010?

View 1 Replies

DataSource Controls :: Data Restore From Production To Testing Environment?

Mar 3, 2010

Current process:

Whenever we have an issue in production, we restore DB backup from our nightly sql backup files in our testing environment. This way we get all data from production.

New Requirement:

Instead of restoring the db which takes upto 2 days, they want to do only selective restore based on few parameters. Requirement is to a build a new ASP.NET page in our application with few inputs. On submit button click, I should select data from prod and insert into testing environment. This involves opening new sql connection.

View 2 Replies

Web Forms :: Error In Production Environment When Dynamically Generating Script Code

May 6, 2010

I am dynamically generating script code to return transaction data to Google Analytics using their ecommerce script. The code that generates the script is fully tested and functional on my development machine and when I view the page code the script, along with any values that were passed to it, can be seen above the </form> tag. Happy days, or so I thought. For some reason the code is not being generated when I test it in a live, hosted environment. I cant figure out why this is the case as the code is quite simple. I simply generate the script code and register it on the client side (see code below)

//Capture the transaction data for analytics ecommerce tracking
//Generate the necessary script code
string strAnalyticsEcommerceScript = Analytics_Ecommerce_Script_Creator();
//Register the script on the page
Page.ClientScript.RegisterStartupScript(this.GetType(), "AnalyticsScript", strAnalyticsEcommerceScript);

The page in question is called "Order-Successfull" and is where customers are sent to when they have succesfully payed for an order. On this page:

-The order is added to the orders database table
- The customer is emailed an order confirmation email
- The google analytics script is generated and registered

The Sequence is as follows:

[Code]....

Whats really interesting is that if I move the Analytics script creator code before the code that sends the emails, the script is generated and can be seen when I view the page code. If I do this, however, the emails do not get sent. If I lay the code out as per the code I have inserted in this post, the emails get sent but the script code is not placed on the page.. The code to that actually sends the emails is quite standard:

[Code]....

View 2 Replies

Configuration :: Application Is Working Fine In Local Environment But Not Working After Push Code In Live

Aug 19, 2010

My application is working fine in local environment but not working after push code in live. My locale environment and hosting environment both are having same configuration. Same app working fine 2 month before but in different domain but same hosting server.

how to check the both config / any possible to run debug mode in hosting server please let me know. below code used in all page for checking user session status but when I click on any link page redirect to login.aspx I think session got timeout. I don't know why session got time frequently, but this issue not happening in local environment (desktop).

[Code]....
[Code]....

View 6 Replies

Security :: How To Implement Certificate Security In Production Environment

Jun 15, 2010

I have searched and could not find any article related to "How to implement Certificate Security in
production environment".

I could able to Create sample certificates for client and Server on my local machine and was able to authenticate my client app with the certificates . These certificates are test certificates.

How do I do this in Production. We have a domain certificate from GoDaddy which resides on the server. How do I create a Client Certificate off of that.

View 2 Replies

MVC :: Posts Not Working In New Environment?

Jul 22, 2010

I have a project in VS 2010 and works great in my dev environment, including a single post that has the def:

[Code]....

But when I publish to another box, I get an error "Could not instantiate file name generator.". This only occurs on the post, all the other ActionResults work fine.

View 2 Replies

Configuration :: Asp Menu Working In Dev Environment But Not On The Server?

Sep 17, 2010

have added an asp menu to my site which i populate depending on the user/group from an entity framework object using a re-entrant function. This successfully adds menu items with associated child menu's to level n in the development environment.The problem comes when i publish to the server. when i view the published site the menu view changes and instead of a nice neat menu bar it shows a big list of the correct menuitems in a flat structure blanking out the rest of the page(asp menu is set to horizontal normally)server - windows server 2003 x64 - iis6 - asp 4.0.30319 + net4 framework packsdev - windows 7 - Visual studio 2010i am checking both sites with the same browsers so its not a browser issue.

View 6 Replies

Web Forms :: Asp Menu Working Fine In The Dev Environment But Not On Server

Sep 17, 2010

I am sorry to be asking what is probably a really stupid question, but i have a problem with my asp menu, when i run it on my dev machine(thru vs2010) it works perfectly, all the menu's are displayed correctly with the correct child items in the correct order but when i publish it to the server all the menu items become flat and take up the whole page. I am populating the menu using a reentrant function as follows to call the function and add the menus i am using

Dim childMenuItems As List(Of MenuItem) = CreateMenuLevel(0, uniquemenulist)
childMenuItems.ForEach(Sub(n) NavigationMenu.Items.Add(n))
Public Function CreateMenuLevel(ByVal parentId As Integer, ByVal menulist As List(Of MenuList)) As List(Of MenuItem)
Dim menuItems As New List(Of MenuItem)
For Each menuListItem As MenuList In menulist.Where(Function(n) n.ParentId = parentId)
Dim MenuItem As New MenuItem
If (Not String.IsNullOrEmpty(menuListItem.PagePath)) Then
MenuItem.NavigateUrl = menuListItem.PagePath
End If
MenuItem.Text = menuListItem.MenuName
MenuItem.Selectable = True
MenuItem.Enabled = True
menuItems.Add(MenuItem)
Dim childMenuItems As List(Of MenuItem) = createMenuLevel(menuListItem.MenuId, menulist)
childMenuItems.ForEach(Sub(n) MenuItem.ChildItems.Add(n))
Next
Return menuItems
End Function

now as i say this all works fine in the dev environment so i dont think its a coding issue unless i am missing something mad.

server 2003 x64
iis 6.0
asp 4.0.303.19
relevant .net 4 framework packs installed
dev environment
visual studio 2010

am using the same browser for to check both dev and server

View 2 Replies

Configuration :: Sending Mail Not Working On Production

Jan 21, 2011

I have a function i used to send Mails, it works fine locally, but on production not working. here is the code

[Code]....

and here is the configuration

[Code]....

i got this exception on production only System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 72.167.82.80:25 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)

--- End of inner exception stack trace ---

at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout) at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback) at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback) at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout) at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)...........

View 3 Replies

WCF / ASMX :: Web Service Is Not Working On Production Server

Sep 14, 2010

i am calling the webservice from acrobat javascript. it works very well in development server. but when i put the same code in production server, it doesnt call the webservice.

View 3 Replies

Security :: Webconfig - Website Not Working On Production Env

Oct 19, 2010

I have created the asp.net application and Hosted on Different Server(i.e Test,Development). its is an Intranet Application But When I tried to Host on Production the WebApplication dont work when I check the "Integerated Authentication" and when I check the "anonymous Access" i get null value for the HttpContext.Current.User.Identity.Name.ToString() returns null. and User.Identity.IsAuthenticated also return false. what changes do I have to make in IIS and Webconfig of my application so that it can run on ProductionSERVER

View 2 Replies

MVC :: CSS And Javascript With T4MVC Not Working On Production Server

Nov 29, 2010

I have a asp.net MVC web application that uses t4 mvc , Jquery for validation / Ajax and CSS file for styling. On the dev machine (my pc) the application works fine as expected. However on the production server the css styling and jquery do not work. I use code like:

<script type='text/javascript' src='<%=ResolveUrl(Links.Scripts.jquery_ui_1_8_5_custom_min_js)%>'></script> <%= string.Format("<link href='{0}' type='text/css' rel='stylesheet' />", Url.Content( Links.Content.Site_css,))%>

to include the JavaScript and css files in the views on the master page, the paths are generated correctly (I can see this from the source created )but the site will not render correctly. In fire bug the net tab tells me that the CSS and JavaScript files are found and the IIS server returns a 302 code. I am using a new production server 2008 server IIS7 (fresh build) with .net 4 installed. Is there anything I could be missing on the server?

View 10 Replies

Configuration :: Intelligencia.UrlRewriter Not Working On Production Server IIS6

Apr 27, 2010

i am using Intelligencia.UrlRewriter on my website and it works fine on my development machine, i tryed to deploy on IIS6 and i get this error:

The page cannot be found

The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.Please try the following: Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly. If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted. Click the Back button to try another link. HTTP Error 404 - File or directory not found.

Internet Information Services (IIS)
Technical Information (for support personnel)

Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404. Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages. this is the url that throws the error. [URL] this is the working url that is being rewriten to the above one. [URL]

View 2 Replies

Web Forms :: Functionality Working In Development System But Not In Production Server

Feb 11, 2012

I have a functionality working ( functionality for making controls visible / true false ) on my development system having windows 2008.

But the same is not working onĀ  production server having windows 2003 on IE.

View 1 Replies

Configuration :: Global.asax Email Not Working In Test Or Production But Works On Hosted Site

Apr 12, 2010

I have a hosted site and just added some additional error notification to my global.asax file and works like a charm. I decided to add the same logic to our test server and it doesnt work. The server.transfer never happens and the email never gets updated. Now i know the email works on the test and production server since we have other pages that use the same SMTP server name and setup as i have in the global file. Below is my code as it is in the file now. I setup a test page to cause an error and the page displays the detailed error which we dont want. But i would like to be notified if this happens. What am i missing? I can only assume that its a IIS confige issue, since the exact same code works on a hosted site, but not at work on our test or production servers. Here is the code i have in the global.asax

[Code]....

View 18 Replies

System.Environment.GetEnvironmentVariable("UserName") Not Working?

Mar 25, 2010

I need to retrieve the windows login name in my asp.net application.

I put System.Environment.GetEnvironmentVariable("UserName") in and it works only when I am debugging my application. However, when I try to run it from the url, and do a response.write it gives an empty string for the "username",how I can get this to work?

View 8 Replies

C# - Process.Start("url") Is Not Working In Proxy Environment

Apr 15, 2010

How i can pass WebProxy credentials like userid, password, IP,Port and domain. During proxy environment the url does not open.

View 1 Replies







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