.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Row not found or changed

Posted By:      Posted Date: September 20, 2010    Points: 0   Category :ASP.Net

The following references to user controls give the error "Row not found or changed." However, when I remove any one of the references, the results are perfect and everything displays fine. Any ideas why?

    <div class="content-left">
        <Prf:gradyr ID="GradYrE" GradYr='<%#Bind("GradYr")%>' runat="server" />
        <Prf:names ID="NamesE" FirstName='<%#Bind("FirstName")%>' LastName='<%#Bind("LastName")%>'
            runat="server" />
        <Prf:email ID="EmailE" _Mail='<%#Bind("Email")%>' _Mail_Disp='<%#Bind("Email_Disp")%>'
            runat="server" />
        <Prf:phones ID="PhonesE" Phone='<%#Bind("Phone")%>' Phone_Disp='<%#Bind("Phone_Disp")%>'
            Cell='<%#Bind("Cell")%>' Cell_Disp='<%#Bind("Cell_Disp")%>' runat="server" />
        <Prf:gender ID="GenderE" Gender='<%#Bind("Gender")%>' runat="server" />
        <Prf:maiden ID="MaidenE" Maiden='<%#Bind("MaidenName")

View Complete Post

More Related Resource Links

Row not found or changed. Only when field is changed to something else then 0.

For our ASP.NET project for school we had to build a sport event management web application.We provide the application in three languages (English, Dutch & French) which you can switch all the time. This has worked all the time for all users, well that's what we think anyway.Yesterday I found out that switching from one to another language isn't working for 2 of our users. So I started testing a bit and I always got this error.I'll try to explain what happens behind the doors when changing the language:First of all the current language is saved in a session so we don't have to check the user row every time a page loads. Besides that we save the language in the users row in the database.Users Table:Id int Unchecked Email varchar(150) Unchecked FirstName varchar(100) Unchecked Password varchar(50) Unchecked Telephone varchar(25) Checked Mobile varchar(25) Checked Address varchar(150) Checked Name varchar(100) Unchecked PostalCode varchar(20) Checked Culture smallint Checked PostalName varchar(100) CheckedId int UncheckedEmail varchar(150) UncheckedFirstName varchar(100) UncheckedPassword varchar(50) UncheckedTelephone varchar(25) CheckedMobile varchar(25) CheckedAddress varchar(150) CheckedName varchar(100) UncheckedPostalCode varchar(20) CheckedCulture smallint CheckedPostalName varchar(100) CheckedI've marked the field I'm talking about in bold. If f

Handling 404 page not found with Error page



      How do i handle 404 page not found?

scripts file not found on server - 404


Fiddler is showing a 404 error when my published web application runs. the jquery.js file in
/scripts is highlighted in red by fiddler as not found. ( IIS log also shows the 404 error ).
I run the web app from visual studio, on local host - no problems. The publish is successful.
All the files are in the scripts folder of the web app on the server.

In the site.master I have:
<script src="../../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>

Visual studio does not complain about this. ( which indicates the file is found. )

Oddly, when I fully qualify the path, VS says file not found, but after I publish and run, fiddler
shows the jquery file being found and sent to the browser.
<script src="/MvcApplication1/Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>

when the <script> path is "../../Scripts/jquery-1.4.1.min.js", the fiddler error is
404: /Scripts/jquery-1.4.1.min.js .

when the <script> path is "/MvcApplication1/Scripts/jquery-1.4.1.min.js", fiddler shows the file
being sent to the browser from that /MvcApplication1/Scripts path.

Both the Scripts fol

urlrouting - page not found error


I have a dynamic data site setup and running locally fine from vs 2008.

When i deploy to a remote windows 2003 server (IIS6), all the pages also work ok apart from one page/table.  I can access it's list page,  but the edit and insert pages throw 404 errors.

I'm thinking it's a url routing/hosting issue as i've copied back the database from the remote server and it all works fine on my local machine.

Is there anything i can do to debug this behaviour?

Below is my register routes entry from the global.asax

Any suggestions greatly appreciated as, i've been stuck on this for days :(

public static void RegisterRoutes(RouteCollection routes)
    MetaModel model = new MetaModel();
    model.FieldTemplateFactory = new AdvancedFieldTemplateFactory();

    model.RegisterContext(typeof(Sponsorship.Data.Entities), new ContextConfiguration() { ScaffoldAllTables = false });
    model.DynamicDataFolderVirtualPath = "~/admin/DynamicData";

    routes.Add(new DynamicDataRoute("admin/{table}/{action}.aspx")
        Constraints = new RouteValueDictionary(new { action = "List|Details|Edit|Insert" }),

Page not found using ASP.NET Development server


Hi to all forum members

I got this problem. When I try to run a test project I receive "Page not found" in browser opened by ASP.NET Development server. I am logged as administrator to my WIN XP. And I am using VS2005. I had VWD and ASP.NET 2.0 before but  removed everything before installing VS2005. Do you hav eany idea why is this happening.

p.s. I do not use any firewall only nod32 as antivirus program

I will be very glad is someone can help me.

DirectoryEntry type not found


 Can someone tell me why the system does not recognize DirectoryEntry in the code below?  It indicates DirectoryEntry cannot be found. 

using System;
using System.Collections;
using System.Collections.Generic;
using System.DirectoryServices;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.DirectoryServices.AccountManagement;

public partial class MyADGroups : System.Web.UI.Page

       public static ArrayList getuserattributes(string objectDn) 
        DirectoryEntry objRootDSE = new DirectoryEntry("LDAP://" + objectDn);
        ArrayList props = new ArrayList();
        foreach (string strAttrName in objRootDSE.Properties.PropertyNames)
        return props;



Compiler Error Message : CS0006: Metadata file 'System.EnterpriseServices.dll' could not be found


I get this error when i Debug my web application....


I followed these steps.,

  • Ended the aspnet_wp.exe process in the Windows Task Manager
  • Then deleted the application`s folder in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\
  • Then started Visual Studio 2008 again

I also rebooted my system but no use....

Plz help !

Bitmap FromFile space "file not found"


I am using aspose.slides to create PPTx's. Some of the process involves loading jpg's from another server and including them in the presentation. This works fine in my development environment. When I upload the site to its server, the jpg loading fails.

I am trying to access jpg's on the other server by:

   oFS = New FileStream(sFile, FileMode.Open, FileAccess.Read)

This causes an access violation error when run from the server.

I also boiled the code down to reading the file directly:

   oImg = System.Drawing.Bitmap.FromFile(sFilePath)

This causes a file not found error.

We have narrowed the problem down to the fact that the File Path has a space in it. How does one solve this problem (while still keeping the space, there is a lot of legacy data)? I have tried replacing the space with %20 or +. I have tried using Server.UrlEncode. The error message always comes back with the encoding in place (like no decoding

Any decent docs on DD? All the ones I found are for .NET 3.5



I've been trying to find some up-to-date docs for DD in .NET 4 and have beens struggling. Most of the info out there seems to be for 3.5, along with a lot of comments about not using now as there's so much new stuff in the latest version.

I've seen the MSDN pages, which look typical MSDN, ie great if you want to look up a specific feature, but not necessarily the best place to learn from scratch.

Anyone know of any good learnign resources?


MySqlMembershipProvider.CreateUser no suitable method found to override



I am getting following error while using MySqlMembership Provider. Can any one help me to solve this?


MySql.Membership.MySqlMembershipProvider.CreateUser(string, string, string, string, string, bool, object, ref System.Web.Security.MembershipCreateStatus)': no suitable method found to override.

        <membership defaultProvider="MySQLMembershipProvider">
                <add name="MyMembershipProvider"

        <roleManager enabled="true" defaultProvider="MySQLRoleProvider" />

using System;
using System.Collections.Specialized;
using System.Configuration;
using System.Configuration.Provider;
using System.Data;
using System.Diagnostics;
using System.Globalization;
using System.Security.Cryptography;
using System.Text;
using System.Web;
using System.Web.Configuration;
using System.Web.Security;
using MySql.Data.M

No Results matching your search were found. WSS 3.0


I've got one sharepoint 3.0 site, which is a hostNamedSiteCollection which won't return any results when we search it - searching the entire site or a single list both produce the same "no results matching your search were found".
The site uses Windows Authentication.  We have no Alternate Access Mappings set up. It is regular HTTP
I've added test content to other sites housed in the same Web Application and searched - that new data is appearing in the results.
I did a backup using STSADM and restored the site to my dev server (as both a hostNamedSiteCollection & a regular site collection) - searches return results just fine.
I deleted the site from the prod server and restored it (into a different content database even!) from a backup  I made with STSADM - no results are returned.
I restored the site to the same web application as a Standard site (http://webapp/sites/sitename) (NOT a host named site collection) and results ARE returned.

I've looked at the trace logs & application logs on the server, but can't find any errors that I can tell might be related..

This is the only site I've ever seen have this problem.  We have plenty of other hostNamedSiteCollections and search is working fine on them.


Advanced Search page no found



Currently when a user attempts to conduct an advance search they recieve a page not found message. When I tried to conduct a search myself I was able to enter in my search term, but the search results came up as page not found. On closer inpection I noticed that it is droping part of the URL.


http://sitesp.ca/sites/PETL-EPFT/searchcenter/Pages/Advanced.aspx becomes http://sitesp.ca/sites/PETL/searchcenter/Pages/Advanced.aspx

Has anyone seen this before? Any help would be greatly appreaciated.


Item cannot be found.(rsItemNotFound) when executing a report from a sharepoint Website

I have managed to integrate Report server with Sharepoint .
I created a report with it's data connection with microsoft Visual Studio 2005 , tested it , than deployed it to the specified document libraries in sharepoint.
Everything works fine till now.But when i try to execute the report from the document library in sharepoint the Message :
  • The item 'Reports/Report1.rdl' cannot be found. (rsItemNotFound) '. Even though the report1.rdl is inside the website and is returned when i do the search. Regards.

  • The language-neutral solution package was not found.


    Hope I might be able to find some help on this one...


    I developed a simple web part which posts HTML form contents to a SharePoint list - on first deploy, it worked fine, using the Web Part project base from VSeWSS 1.1, but after deployment, I noticed I fat fingered a url for redirection, and went back in to change it. Now, on deployment I get the following error:


    ------ Build started: Project: ContactUsForm, Configuration: Release Any CPU ------

    ContactUsForm -> C:\Visual Studio 2005 Projects\ContactUsForm\ContactUsForm\bin\Release\ContactUsForm.dll

    ------ Deploy started: Project: ContactUsForm, Configuration: Release Any CPU ------

    ------ Deactivate and uninstall features in old solution ------

    ------ Retract and delete old solution contactusform.wsp from the SharePoint ------

    Retracting solution ...


    Server Error: The language-neutral solution package was not found.

    ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

    ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========


    I've restarted IIS, recycled app pools, etc., but still keep getting this error and am a bit confused as to where to go next. I followed the steps listed in this blo

    Object 9f8138d2-b59c-414f-b25e-d07dec844ee1 not found?


    What is this object and what happenned to it?


    Log Name:      Application
    Source:        Office SharePoint Server
    Date:          8/24/2010 12:21:51 PM
    Event ID:      6482
    Task Category: Office Server Shared Services
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      PSPWFE01.alex.robbinsgioia.com
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (a9ff0572-fd3e-4d78-9048-741edee2e84d).

    Reason: Object 9f8138d2-b59c-414f-b25e-d07dec844ee1 not found.

    Techinal Support Details:
    System.Collections.Generic.KeyNotFoundException: Object 9f8138d2-b59c-414f-b25e-d07dec844ee1 not found.
       at Microsoft.Office.Server.Search.Administration.SearchApi.get_App()
       at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
       at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServic

    Setting size of Grid Since Ajax Resizer Changed It


    I'm sure that wasn't a very good subject, but I couldn't think of a better one. What I have is a page that has an UpdatePanel on it with a GridView control in it. It was originally displaying at a particular height and width according to the CSS style I have setup for it in my style sheet. However, since adding an AJAX Resizer control to the UpdatePanel, it is now defaulting to a much smaller size.

    How do I get the grid to default to that same height and width that is in its CSS class? I don't mind putting it in the ASPX page or whatever, just need the grid to default to a larger size than the small little box it defaults to since adding the AJAX resizer. 

    Membership.ValidateUser "The serviceUri configuration setting was not found."


    Hello everybody!

    I use Membership.ValidateUser to check user credentials, but when I do so, I get the following ArgumentException: "The serviceUri configuration setting was not found." I just can't understand what is the problem here.

    Here is a part from my Web.config:

          <membership defaultProvider="MembershipProvider">
                description="ASP.NET Membership database services."


    ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
    Sql Server  SharePoint  Silverlight  Others  All   

    Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend