Showing posts with label connected. Show all posts
Showing posts with label connected. Show all posts

Thursday, March 22, 2012

The file web.sitemap required by XmlSiteMapProvider does not exist.

in my website i have a treeview control connected to sitemap.

I get the error

The file web.sitemap required by XmlSiteMapProvider does not exist.

but i have the file web.sitemap in my website.

Here is my code in my masterpage

<asp:SiteMapDataSourceID="SiteMapDataSource1"runat="server"/>

and my web.config

<configuration>
<system.web>
<httpHandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
</httpHandlers>
<customErrors mode="Off"/>
<compilation debug="true"/></system.web>
<appSettings/>
<connectionStrings>
<add name="estagiosConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Inetpub\wwwroot\meusite\estagios\estagios.mdb" providerName="System.Data.OleDb"/>
</connectionStrings>
<system.web>

</system.web>
</configuration>

in my computer it works fine, but in my web site it doesn't

Any help?

Thank you

found the problem

The file web.sitemap has to be in my website root(strange or maybe not) bu now all my links are wrong.


Hi,

Based on my understanding, when you use the SiteMapPath and SiteMapDataSource controls generate navigation UI. When you run it, the links that are in the SiteMapPath are wrong. If I have misunderstood you, please feel free to let me know.

The Url attribute can indicate avirtual path that corresponds to a page in your application. It can also contain paths to pages in other applications, or URLs that point at completely different web sites. So please make sure that the links that in the web.sitemap are correct.

For more information, seehttp://quickstarts.asp.net/QuickStartv20/aspnet/doc/navigation/sitenavcontrols.aspx.


I hope this helps.

Tuesday, March 13, 2012

The memory could not be "read".

Hi,

I'm currently working on an ASP.NET application. The application is connected to an Oracle database. I have multiple drop-down-list's that contains two list items ('Yes'/'No'). I have autopostback set to true. When the user selects either 'Yes' or 'No', I immediately write the users drop-down-list selection to the database. On my ASP.NET page, I have lots of these drop-down-lists for specific records. When I use these drop-down-lists slowly, everything works fine. When I start to make my selections more quickly, I receive the following error: 'The instruction at "0x7d50a0d0" referenced memory at "0x00000018". The memory could not be "read".

Any suggestions?

bump.

Possibly a problem with your browser install? I guess the page reloads when you change the first dropdown and is still reloading when you change the second - the browser should either ignore the change in the second dropdown or abort the first reload and do the second.

At a guess i'd say there's a problem with your browser - have you tried it in another browser (IE/Firefox?) or checking for updates?

Hope that helps, Adam


How many select boxes do you have? This sounds more like a problem with the client than it does with .NET.
I'm currently using the latest version of IE. The application is on a network and is occuring on everyone's machine (IE Browser). I don't want to have to make Firefox mandatory.
The amount of drop-down-lists vary depending on the users selection. It doesn't matter how many they chose, the error still occurs.

all help is appreciated.


Can you post some code?