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


Similar Messages:

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 :: 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 :: 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

Configuration :: Menu Works Locally But Not On Server?

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

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

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

Configuration :: Debug In Live Environment

May 26, 2010

i have a virtual directory in iis for my project. so that my application is accessible in other pcs as well. Now i want do debug the project when somebody is requesting the page from the other pc. i am not running application using (F5) Start Debugging. But still i want to debug when somebody is requesting the page. Netbean IDE has this feature.

View 1 Replies

Which JQuery/css Menu Library For Working With TreeView Or Menu Controls

May 2, 2010

I'm looking for a good jQuery or CSS, or combo, library to enance my left side menu in an an intranet application. I don't like the 'hover only' expand/collapse style of the ASP.NET Menu control on its own, and I don't like the 'icon-click only' expand/collapse style of the TreeView control on its own.

I plan on trying the CSS Control Adapters, to render the menu with some self-respect, i.e. as nested <ul> or <ol> elements instead of the usual orgy of tables. Beyond that, I need something to give a bit of style and menulike behaviour to these nested lists, and I would prefer a jQuery plugin for this. Which should I use?

View 3 Replies

Configuration :: Deploying A 2.0 Framework Solution In 4.0 Environment?

Jul 5, 2010

I was wondering if it is possible for me to deploy an application, developed and currently running in .NET 2.0 environment to the .NET 4.0 environment. Will it break anything in the process? I was thinking it should be possible since the .net 3.5 onwards are just additional libraries over the .NET 2.0 framework?

View 3 Replies

Configuration :: How To Compile Application As X86 To Run On 64bit Environment?

Jul 28, 2010

I have asp.net application which in develop on the 32bit environment it works fine when deployed on the server.But the problem is when we are deploying the application on the 64bit environment it is giving two problem.1) Exception: System.InvalidOperationException: The 'MSDAORA.1' provider is not registered on the local machine."2) Exception: System.Exception: Cannot create ActiveX component.After doing some search people saying that recompiler your appliation as x86 to work on 64bit environment.How can i do that? when can I find the option for that in VS 2005.or

View 1 Replies

WCF Service Configuration In Web Farm And Load Balancing Environment

Oct 21, 2010

I want to configure ASP.NET Website Project using WCF Service[NetTcp] (both in c#) for web-farm (for website) and NLB Load balancing (for service). I would like to configure following options for same.

NetTcpBinding.maxConcurrentCalls, NetTcpBinding.ListenBacklog and NetTcpBinding.MaxConnections

Note: During single machine configuration when I changed value of NetTcpBinding.ListenBacklog and NetTcpBinding.MaxConnections in WCF Service project to more that 10, which is default value. I got exception. When I changed this value in Website it was working fine. Due to this I had to keep in default configuration. Not sure why this is the case. Following reference gives idea how to configure in given environment but does not tell how to go about it. Ref: [URL] Update: Let me simplify a bit. Lets say I have following configuration.

2 IIS servers in Web Farm.
3 WCF Service Servers (NetTcp) in NLB
Default config. for single instance.
NetTcpBinding.ListenBacklog: 10
NetTcpBinding.MaxConnections: 10
NetTcpBinding.maxConcurrentCalls: 16

Now what will be my configuration setting in this environment. Will it be same as above or will be as follows.

NetTcpBinding.ListenBacklog: 30 (10*3)
NetTcpBinding.MaxConnections: 30 (10*3)
NetTcpBinding.maxConcurrentCalls: 48 (16*3)

View 1 Replies

Configuration :: Environment Variable To Point To Web Reference Using Web.config?

May 17, 2010

I have an asp.net 2.0 website. I have an appsetting in the web.config to point to which environment I am in (Dev, QA, Production). Each environment has it's own web reference for calling web services to get data.I currently have all 3 web references added to the project at the same time and manually change the name of the current environment I want to use. Is there a way I can use the appsetting environment variable I have setup to decide which web reference to use? Does anybody have an example or can point me in the right direction to get started?

View 2 Replies

Configuration :: Session Is Not Working On IIS Server?

Dec 1, 2010

Session is properly working on asp.net development(Local PC).but not working on IIS web server

View 13 Replies

IIS Configuration :: URL Routing Not Working With Web API In Server And MVC

May 7, 2015

I my webform asp.net project, I use web api controller to access the server data.I use framework 4.5. On localhost everything works, but when I publish to server I get 404 for [URL] ..... This is the code in file global.asax 

protected void Application_Start(object sender, EventArgs e) {
GlobalConfiguration.Configure(config =&amp;gt; {
config.MapHttpAttributeRoutes();
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{action}/{id}",
defaults: new { id = RouteParameter.Optional }
); }); }

 On the server the framework 4.5 is installed. In IIS, in application pool, I've set the correct framework version. What are the server requirements? What should I install? 

View 1 Replies

WCF / ASMX :: WCF Service Configuration In Web Farm And Load Balancing Environment

Oct 21, 2010

I want to configure ASP.NET Website Project using WCF Service[NetTcp] (both in c#) for web-farm (for website) and NLB Load balancing (for service). I would like to configure following options for same. NetTcpBinding.maxConcurrentCalls, NetTcpBinding.ListenBacklog and NetTcpBinding.MaxConnections

Note: During single machine configuration when I changed value of NetTcpBinding.ListenBacklog and NetTcpBinding.MaxConnections in WCF Service project to more that 10, which is default value. I got exception. When I changed this value in Website it was working fine. Due to this I had to keep in default configuration. Not sure why this is the case. If anyone could explain this it would be helpful. Following reference gives idea how to configure in given environment but does not tell how to go about it.

View 2 Replies

Configuration :: Url Rewriting Is Not Working In Godaddy Server

Jan 22, 2010

I hosted my project on Godaddy server and they say that the settings required for Url rewriting was already there.But I am getting a blank page when trying to use virtual url to redirect to a aspx page.

<urlrewritingnet
rewriteOnlyVirtualUrls="true"
contextItemsPrefix="QueryString"
defaultPage="default.aspx"
defaultProvider="RegEx"
xmlns="http://www.urlrewriting.net/schemas/config/2006/07" >
<rewrites>
<add name="About-the-company" virtualUrl="^~/About-the-company"
rewriteUrlParameter="ExcludeFromClientQueryString"
destinationUrl="Default.aspx"
ignoreCase="true" />
<add name="contact-my-company" virtualUrl="^~/contact-my-company"
rewriteUrlParameter="ExcludeFromClientQueryString"
destinationUrl="contactus.aspx"
ignoreCase="true" />
</rewrites>
</urlrewritingnet>

This is my code in Test.aspx page

<div>
<li><a href="test.aspx">Home</a></li>
<li><a href="About-the-company">AboutUs</a></li>
<li><a href="contact-my-company">ContactUs</a>
</li>
</div>

View 3 Replies

IIS Configuration :: WCF Service Not Working On Deployment Server

Nov 30, 2013

WCF service call by AutoCompleteExtender but "404 file not found" return.

service path is correct.

code run correctaly on devlopent server.

View 1 Replies

IIS Configuration :: Mondor Captcha Not Working In Server?

Jan 28, 2013

I m using your Captcha Code [URL]. This code is working at local system but not working on Server Side. Captcha Image is not Displaying any Code.

View 1 Replies

Configuration :: Export / Import Excel Not Working In Server?

Jul 1, 2010

In my .net 2.0 application, i have used export / import excel option. In local, its working perfectly but in server i am getting the below errors,

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

[UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.]
repClaim.Button3_Click(Object sender, EventArgs e) +337
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

I searched solutions for google and even in this forum, the following link also i applied but no use, still same error

[URL]

My application is running in IIS 7.0 with DefaultAppPool. In my web.config, i have used this authentication,

<authentication mode="Windows"/>

View 3 Replies

IIS Configuration :: URL Routing Not Working On Shared Hosting Server

May 7, 2015

i have implemented URL Routing in asp.net website using article (URL...) and it working file offline on my local system but when im trying to run online (from my hosting site) then it is showing error..

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

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

Custom Server Controls :: .NET Menu Custom Control With Ajax Is Not Working?

Jan 13, 2010

When I implement Custom web control inheriting ASP.NET Menu Ajax is not working. I try to Override Render method and generate Li's rather than table.I try to use Control Adapters, but when I am not using adapters for some pages ithe base adapter is generating just hyperlinks with span. I do not want this way. So I can not use these.

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







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