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


Similar Messages:

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

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 :: Url Rewriting Not Working On Live Server In Asp.net But Locally Working Fine

Feb 23, 2010

Url rewriting not working on live server in asp.net but locally working fine. but locally it's not case sensitive.

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

AJAX Control Work Fine On Local Host But Not Working On Server?

Oct 11, 2010

I am Working on a asp.net web site. i am using visual studio.net 2008.

i use some ajax control. for my web site. i use update panel on my web pages.

when i run my web site on local host ajax control work fine but as i upload the site on server. these control are not working at all.

tell me what will i do in my web site to run the AJAX control on server side.

View 1 Replies

AJAX :: Update Progress Working Fine On Local System But Not On Web Server

Mar 18, 2010

Ajax I have used update progress. its working fine on local system, but not on web server. Actually pagepostbacks.on server there is IIS7.

View 5 Replies

File Cannot Be Delete / Project Worked Fine In Pc But After Uploading It To A Iis Server It Is Not Working?

Apr 4, 2011

I a webproject in asp.net my project worked fine in my pc but after uploading it to a iis server it is not working.My webproject is to delete a file,

string s;
int i;
s = Environment.GetEnvironmentVariable("temp"); ;

[code]...

View 1 Replies

C# - UrlMapping Giving 404 Page Not Found On IIS But Working Fine On Local Server Port?

Jan 19, 2010

Well I am having a problem when I have put my .NET 2.0 web site on IIS 6. I have used UrlMapping to redirect some old urls. It is working fine when I am using it on the VS local server port but when I deploy it to IIS 6, its giving a 404 Page not found error.

I've found that in a few forums they are talking about using Wildcard Mapping, but none of them provide me with a good explanation of how to achieve this. Added to this, what are the security risks of doing such a modification on IIS Level (if there are any?)

View 3 Replies

Visual Studio :: Scripts Working Fine On Development System But On Server Getting Errors?

Mar 4, 2010

I have a Web App (VS 2010 Beta 2, using VB) and it works flawlessly on the development system. When I publish it, everything works fine unless I use an update panel. If I use the update panel, and try to use something such as a dragpanel, I get the following error.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E)
Timestamp: Thu, 4 Mar 2010 14:54:25 UTC

Message: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 404

Line: 784
Char: 13
Code: 0

View 7 Replies

Web Forms :: Created Java Script Calendar Working Fine In Ie6 But Not Working In Firefox

Aug 13, 2010

I created a one Java script calender. Its working fine in ie6 but its not working in firefox. I'm new to this java script so kindly give your suggestion as soon as possible.

Page
Language="C#"
AutoEventWireup="true"
CodeFile="Default.aspx.cs"
Inherits="_Default" %>@
Register
Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI"
TagPrefix="asp" %>
DOCTYPE
html
PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN".......................

View 1 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

AJAX :: Drag And Drop Is Not Working In Chrome And Safari But It Is Working Fine IE And Firefox

Nov 19, 2010

After the implementation of ajax drag and drop, we have observed that which is working fine in IE and Firefox and not in chrome and safari, In Google chrome and Safari when we try to drag a module, the page getting scrolling to the top of the page.

View 1 Replies

Visual Studio :: Javascript Debugger Is Not Working On Mozilla Firefox But Working Fine On IE8?

Jan 15, 2011

I am using vs2008 pro. my problem is that javascript debugger is not working on mozila firefox but working fine on IE8.

View 1 Replies

Web Forms :: Application Is Working Fine In IE6 But Not IE 7 And Above?

Mar 30, 2010

I have developed a web application, it is working fine without any issues in IE5 and IE6. However it is not getting executed in IE7 properly. The look of the web application was changed and doesn't look as it need to be in IE7. And one more issue is I will be using PopUp windows in the page. When I try to open the PopUp window they were not getting opened. I have checked if the PopUp blocker was blocked, the pop up blocker settings was Okay.. I have cross checked the code it was fine.

"How to solve these sort of issues that occur with IE7 or above"

View 3 Replies

Web Forms :: TextChanged Event Working Fine In Windows But Not In Web?

Apr 8, 2010

I am building a simple application in Windows as well as in Web.I have two textboxes . Whatever I write in textbox1 should simultaneously be written(or copied) in textbox2-It should copy in textbox2 alphabet by alphabet OR each number by number as I write it down in textbox1It (TextChanged event) works fine in Windows application but in Web application it is not working.

View 10 Replies

Forms Data Controls :: How To Remove The Separator Row It Is Not Working Fine

Jan 6, 2010

I have a gridview with has lots of fields. There are buttons which have CommandArgument set and which are being accessed in the RowCommand of the GridView.I am also adding a separator row with the following code.

[Code]....

After adding this separator row. I am not able to get the CommandArgument. All the values which I am declaring in the Aspx with "Eval" are Null when I access them in RowCommand. If I remove the separator row it is working fine.
[Code]....
[Code]....

View 6 Replies

Web Forms :: When The Page Is Loading First Time It Is Working Fine With Out Any Error?

Jan 18, 2010

last from the few days I am getting the following error in my production server("Index was outside the bounds of the array".).The follwoing error is coming in the webpartclass before adding the usercontrol to webpart.Strangely when the page is loading first time it is working fine with out any error.After 5,6 clicks in my page the above error is coming. It is working fine in my local machine and in development server.

The problem is only in production server.

base.CreateChildControls(); OTBTWorkshop = (UserControl)Page.LoadControl(@"~/_layouts/UserControls/tets/teest.ascx"); this.Controls.Add(OTBTWorkshop);

View 2 Replies

Forms Data Controls :: Export To Excel Is Working Fine But On Clicking Twice?

Feb 1, 2011

I used following code to export data to excel but when on click-1 nothing happens, on click-2 it exports fine.

due to this when user wants to go back by clicking browsers back button he clicks two times to go back. Sometimes after one click the browser back button got diabled.

[Code]....

[Code]....

View 15 Replies

Web Forms :: SiteMapPath Not Working On Firefox / Chrome And Safari Works Fine On IE

Jun 6, 2012

SiteMap is not clickable on Firefox,Chrome and Safari But works perfecly fine on IE..Here is the code;

div.logintext {
position: relative;
top: 25%;
display: table-cell;
vertical-align: middle;
text-align: left;

[code]...

View 1 Replies

Configuration :: Menu Navigation In 2010 Not Working On 3.5 Server?

Oct 29, 2010

I have created a basic horizontal menu in MVWD 2010 which works when I debug it on my own machine. But as soon as I upload to a ASP.net 3.5 sever online, the dynamic aspect doesnt work. Are there some major differences in frameowrk 3.5 to 4?

View 3 Replies

Configuration :: CSSFriendly Menu Not Working On Publishing To Server 2003

Dec 13, 2010

After months of work I thought I had finished with my web application using VS2008 with CSSFriendly menu. On publishing, the menu did not work and I got all sorts of errors. Deleting CSSFriendlyAdapters.browser in App_Browsers folder improved the layout but the menu was not rendered with css even though the html source shows thet are linked. On desperation, I changed the target Framework from 3.5 to 2.0 and then back to 3.5 with no avail.

View 5 Replies

Functionality Is Working Fine But The Application Is Becoming Very Slow?

Sep 13, 2010

I have one ASP.NET Application (VS.NET 2005). In that i have one scenario where i have to display 500 records per page (Not less than that bcoz this is client requirement to display 500 records per page) in the Gridview. This functionality is working fine but the application is becoming very slow.Can anybody tell me the solution for increasing performance in this case ?

View 2 Replies

Unable To Work In Mozilla But Working Fine In IE?

May 20, 2010

At page level I have set EnableEventValidation="false" and at Page_load below code is written:

Code:
grdMaster.Attributes.Add("OnClick", String.Format("{1};this.disabled = true;document.getElementById('lblProgress').innerHTML='Generating...It will take approx 30 Mins.'; {0};", ClientScript.GetPostBackEventReference(grdMaster, ""), ""));
Above coding is fine in IE but it does not work in Mozilla.
What could be the reason?and what is the solution on this?

View 9 Replies

Working Fine In PC And Page Is Opening From Browser But Not From Other PC?

Sep 20, 2010

I have an asp.net project both in .net 2005 and 2008.It is working fine in my PC and page is opening from browser but not from other PC.I can able to connect the other pc's,ping it sure there is no connection problem with pc.I think should be in IIS or sharing from my PC.I need both in .net 2005 and 2008.

View 2 Replies







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