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


Similar Messages:

Configuration :: Upload Via FTP Works When Code Runs Locally But Not From A Remote Server?

Nov 15, 2010

I have a page which uploads a file from server A to server B. The user first uploads the file to server A, where it's saved into a diretory, then once the file is safely stored there, I'm transferring it to a second server, server B, using the following code:

[code]....

So, in summary, the only difference I can see between the working case and the non-working case is the server that'ssending the file.

View 4 Replies

Configuration :: Web Service Works Locally But Not When Deployed?

May 28, 2010

When I deploy my web service, I get the following error:

There is no build provider registered for the extension '.svc'. You can register one in the <compilation><buildProviders> section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute attribute which includes the value 'Web' or 'All'.

I found one thread ([URL] that a solution but, I can not get it to work. If I make the changes to my web config file as in the thread, I then get a configuration error. One odd thing is that, if I check the machine.config file on my machine, located at C:WINDOWSMicrosoft.NETFrameworkv2.0.50727CONFIGmachine.config, I don't see any of the config settings described in the thread. As a matter of fact, there is no mention of "compilation" or "buildProviders" at all.

Here is my entire config file listing:

[Code]....

View 2 Replies

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

Web Forms :: VS 2005 - MS Outlook Works Locally But Not From Server?

Apr 16, 2010

I have a button on a page that when clicked should bring up the users email system (MS Outlook).When I run my application locally on my test machine, I click the button and my email comes up.However, once I moved the application to the web server, when I click the button, nothing happens.Can you tell me what is wrong? Below is the function I am using:

[Code]....

View 4 Replies

WSDL Works Locally But Not When Hosted On A Remote Server

Sep 20, 2010

I created a WSDL with Visual Studio 2005 and tested it using localhost. It worked exactly as anticipated and returned the expected results. I basically called the WSDL from a classic ASP page using Server.CreateObject("MSXML2.ServerXMLHTTP.3.0") and all went well. The url was http://localhost/service.asmx/methodname.


I deployed the WSDL to the remote server and tried to access it the same way; I changed localhost with the domain name as http://domainname/service.asmx/methodname. But now I get 'Post to http://domainname/service.asmx/methodname failed with 500.

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

C# - Class Not Being Found Online But Works Locally?

Mar 26, 2010

I am getting this error after uploading my web app to my Rackspace box.

CS0246: The type or namespace name 'User' could not be found (are you missing a using directive or an assembly reference?)

It's odd because it works fine on my local computer where I do development. The actual line of code is:

public User user = new User();

I am using C#.

View 1 Replies

MVC3 - All Routing Works Locally But Not Remotely?

Feb 16, 2011

I have a new MVC3 project with one Controller called PublicController.cs which contains 4 identical methods for testing out how routing works. The only difference between them is their name, and that they each point to a different view ...

public class PublicController : Controller
{
//
// GET: /Public/
public ActionResult Index()[code]....

My web-server is shared hosting with netcetera, using a sub-domain for this deployment (previously had problems with MVC in virtual directories, but have full blown MVC2 apps running in sub-domains no problem). I've deployed by using the "Publish to file system" option, then copying over the files aswell as just copying the entire source project over. Both give identical results.

View 1 Replies

C# - Asmx Webservice Works Locally But Not When Deployed On Remote IIS 7

Sep 25, 2010

I have developped an asmx webservice with visual studio and I deploy on IIS 7 which has 3.5 Framework by copying all the files.

When testing it says

Could not load file or 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

I don't use [System.Web.Script.Services.ScriptService] so I don't understand why it tries to load System.Web.Extensions.

Note: I'm not using any other assembly/lib I'm just learning webservice so it's very simple: I create a webservice Test.asmx with one method which uses one class Test.cs within same namespace WebServiceTest. This works locally.

View 2 Replies

Get Application Root From Request Object That Works Locally And Remotely?

Mar 15, 2011

Let's say that I have my ASP.NET web application in a directory called "MyApp" both locally and on a remote server. I'm trying to build an onclick response to a link. The response calls a Javascript function, passing it the URL of an .aspx page in my web app. The Javascript pops out a new window displaying the page. My C# code looks like this:

link = new HyperLink();
link.Text = product_num_str;
link.NavigateUrl = "#";[code]....

I started using the Request's Authority property because I was having problems running locally on the Visual Studio web server when I used the Host property. The problem was that Host only returned "localhost" instead of the host and port number. When tested locally, the code works because the "authority" maps to my app root folder. The URL generated is, e.g.,

http://localhost:52071/ProductInfo.aspx?_num=123

If I run on a remote server, however, I end up with something like: http://company-server/ProductInfo.aspx?_num=123

This fails to find the page, because in this case the "MyApp" root folder must be included.There is probably an easier way - putting an entry in the web.config or something. My motivation originally was to allow the app to be published to a folder of any name and work as is. I could hack my approach and search the string for "localhost" or something, but that's ugly. So how do I build a string that will work everywhere?

View 1 Replies

Web Forms :: Locally It Works Fine - But Deployed To The Web Serve It Gives A Windows Prompt?

Jan 6, 2010

This is very strange behaviour from my login control - locally it works fine - But deployed to the web server (With an external hosting company) it gives a windows prompt, even though the authorisation is set to "Forms".Here is my web.config file:

[Code]....

View 13 Replies

Configuration :: VB.Net IF Function Works On One Server But Not Another

Aug 27, 2010

I have two web servers plus my desktop. I use Visual Studio 2008 to generate asp.net pages. I put a statement like:

response.write("Testing if function: " & if(0>1,"true","false") & "<br />")

in a code-behind file (test.aspx.vb). When I type it, Intellisense clearly recognizes the IF function and gives me guidance on the two overloaded versions. When I Build the page, it gives no errors, but when I View in Browser, I get an error: "BC30201: Expression expected." with the compiler details pointing to the IF. When I run the page on my test server, I get the same result, but when I run it on my production server, it works just fine.

View 5 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 :: VS 2010 Works On Server / Download 4.0?

Nov 11, 2010

I have a website created with vs 2008 using 3.5 framework.When i do any changing int he code I used to do build website,add webdeployment,then build soultion.I go to deployment folder / release/bin/ .dll and use this file to update the previous dll file i have on the server. Now i am migrating to .net 4.0 on vs 2010. I opened my project in vs 2010 and by itself it migrated it.Then i created webdeployment. I noticed in the deployment folder i have an "obj" folder that also contains the dll file other than the one in "Release" folder.

Now what do i have to do?Can i do the same?take the dll that is under release/bin or or the one under objReleaseTempBuildDirin ? And on the server do i have to install vs 2010 so it works?or downloading .net 4.0 framework is enough?

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

Configuration :: Intelligencia.UrlRewriter Doesn't Works On Hosting Server

Apr 8, 2010

I have made a Website in Vs2008 on XP.Did the Url rewriting for this website by using Intelligencia.UrlRewriter.dll.It works fine locally.in my webconfing i did it like this ->

<rewriter>
<rewrite url="~/MstDealer/(.+).aspx" to="~/MstDealer.aspx?nTableKey=$1"/> <rewriter>

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

Configuration :: Image Displays OK Locally But Not On WWW?

Jan 15, 2011

An image on one of my pages renders as...

[Code]....

The first one displays fine locally but not on the Web server, whereas the second one displays fine both locally and on the Web. How do I get the first to resolve like the second? In the database, I have the reference prefixed with "~/i/" so it's puzzling to me that it would resolve to some other form.

View 5 Replies

Configuration :: Setting Up Web Form Locally?

Aug 5, 2010

I want to set up a web farm locally, but i really dont anything about how to do it,

steps or web links so i can start configuring it..

I've got 2 web servers locally having windows 2003 installed.

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

Configuration :: How To Secure Root Of Iis While Deploying Locally

Oct 1, 2010

I have deployed my asp.net application locally in my office server.

View 5 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 :: Access Locally Deployed Site Through Domain?

Jul 26, 2010

I have asp.net website deployed on local server

And also i have a domain name

What i want that i want to integrate my locally deployed site with domain name.

(I have live(public) IP address as well)

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







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