DataSource Controls :: VS 2005 - Can't Find The 'Advanced Properties' For The XSD File - Can't Find The 'Custom Tool'?
Jan 29, 2010
I am trying to create strogly typed datasets for my project. When I right click on the xsd file that I need to generate a strongly typed dataset for I can't find the 'Advanced' properties as described in the below article (almost half way down)[URL]As I do not see the Advanced properties option I can't find the 'Custom Tool' property/option to set its value to 'MSDatasetGenerator'. Do I have to install some kind of patch on my VS 2005?
when trying to setup either sql or access DataSource control or Add- Connection in server explorer, i get the error 'the system cannot find the file specified' for my main user acct, its an admin for another admin acct going for same db, it works fine! in the past the 'cannot find file' error has sometimes turned out to be a permissions problem, but shouldn't be with 2 admin accounts. this is a .mdb and i can run access2003 no problem.i've checked the machine.config file for a bunch of suggestions on posts and even some registry keys, so far all checks out. evidently vs2005 has unique settings for each user, eg. i had to turn on line numbering for 2nd user. somehow i messed up my vs2005 settings for the problem user? or some registry key?
I can't seem to find the TableAdapter tool in Visual Web Developer Express 2005.Is it there somewhere and I am just missing it or do I need to download Visual Studio 2005 to get this tool ?
The simple website I am trying to build is a list of banks with their corresponding website. I also wanted the ability to add banks/website with the use of some text boxes and a button click event. I've got this fully working until I publish it. When I try to run it on the webserver it say it can not find the specified file c:windowssystem32inetservURLs.xml Now I understand the problem I just can not seem to fix it with out hard coding the path of the file into code.
Partial Class _Default Inherits System.Web.UI.Page Protected Sub btnAdd_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAdd.Click ' Load the Document Dim Doc As New XmlDocument Doc.Load("URLs.xml") 'Create a New Element Dim bankNode As XmlNode bankNode = Doc.CreateElement("bank") 'create and add sub elements for this node Dim nameNode, addressNode, dateNode As XmlNode ' nameNode = Doc.CreateElement("name") addressNode = Doc.CreateElement("address") dateNode = Doc.CreateElement("date") bankNode.AppendChild(nameNode) bankNode.AppendChild(addressNode) bankNode.AppendChild(dateNode) 'add the text data nameNode.AppendChild(Doc.CreateTextNode(tbWebsite.Text)) addressNode.AppendChild(Doc.CreateTextNode(tbAddress.Text)) dateNode.AppendChild(Doc.CreateTextNode(DateTime.Today)) 'add the new element to the end of the list Doc.DocumentElement.AppendChild(bankNode) 'save it Doc.Save("URLS.xml") End Sub End Class
i have some ASP.NET pages.pages does not appear in FireFox4 same IE9.
i want to find my HTML or CSS Design problems.i hared that this is a tool for finding problems.but i can't use it because my ASP.NET Page contains some usercontrols.
I am looking for a way to find my design problems(tool , tip , etc).
another note is i am using jQuery UI plugins in my site.
I see to down load ASPAJAXExtSetup.msi (Microsoft ASP.NET 2.0 AJAX Extensions 1.0)
I am not an admin on my computer, i work in one of those places where it takes 1 week or more to get 1 thing installed.
Please help me find the exact items to install for vs2005 and the exact order. If i could do installs myself i would just keep trying till i got it, but if i take that approch i will be out of the job i started 2 wks for not getting anything done while i mess with this.
I kept getting this using ASP.NET Administration Tool/Security tab: There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.
Is anyone able to see Web Site --> ASP.NET Configuration if you are creating a web application using File --> New Project --> Visual C# --> Web. If so, how and where?
Base on what I've tried, the menu Web Site --> ASP.Net Configuration appears only if you create a website by File --> New Website.
What I am actually trying to find is the Web Site Administration Tool (WSAT).
I have a master page and content page and placeholders in one of the placeholders in the content page i programmatically add a custom control (with loads of controls inside it.) Basically once all te controls are populated i want click a submit buttom on the form and get all the vales from the controls in the cutom control.
Where can I go to find documentation about client side properties and methods of an asp:listbox controls. I need to access the control at client side but can not find any documentation of the properties and methos available a client side.
I have created a class which inherits the HyperLinkField. I need to find the data values of the fields specified in the DataNavigateUrlFields property. I have not been able to figure out how to do this.
I am writing a custom control and implementing ITemplate in it. The code that I am using can be reviewed at the following link: http://msdn.microsoft.com/en-us/library/ms178657.aspx
Under the Template field, I would only like to allow controls of specific type only, say LinkButton and TextBox. If any control(s) present inside Template is anything except LinkButton or TextBox, an error should be thrown. I am wondering how can I check it programmatically inside custom control. The problem is that there is no collection available that lists all the controls that of Template (or may be I am not aware of it.)
CREATE PROC [dbo].[SP_NEWS_SELECT] ( @NB_NEWS int, @ID_NEWS int, @DT_PUBLICATION datetime ) AS SELECT TOP @NB_NEWS * FROM [REP_CLI].[S_ETATS].[T_NEWS] ORDER BY [DT_PUBLICATION] ASC
I have method that I call which needs to find all the panels in the page but it fails. I have another method that was created by the VS has the traditional paraeters such the object sender, EventArgs e that the similar code works fine but the (simplyfied) code below. It is clear to me that these parameters contain information that makes one method work while the other not, but I don't know why.
The code breaks on the last line of code: _pnlAssetInfo = (Panel.....
I created a database on SQL Server 2005 developer edition with MS SQL Server Mangement Studio Express. Now I created code that accessess a stored procedure named 'pS_TableData'. However I have one problem the code raises an exception "Could not find stored procedure 'pS_TableData 'Letters''."the code looks like this:
[Code]....
Note I am using (for now) the same connection that I used to create my database so in essence my web site is the administrator. I tried a simple SELECT from a table with the same connection and it raised no exceptions!When I run EXECUTE ps_TableData 'Letters' in SSMS it has no . I also tried EXECUTE ps_TableData 'Letters' as the command paramated for SqlCommand but it had the same effect
I have a Windows 2003 test server hosting an asp.net 2.0 application and Sql Server 2005 running as Sql Server 2000(80).During a recent a security review we decided that it wasn't such a hot idea to use sql authentication with an sysadm user as the database user for the asp.net application. Having done a bit of reading (http://msdn.microsoft.com/en-us/library/ms998258.aspx#pagguidelines0001_dataaccess) I decided to use a lower privilege database user account and windows authentication.Starting from scratch I created a new custom service account (http://msdn.microsoft.com/en-us/library/ms998297.aspx) and assigned this to the process identity for the application pool.I then created a new database login and user for this account. I added the db_datareader and db_datawriter roles to this user and I also granted EXECUTE permissions for user defined stored procedure and functions. However when I started the application I got this error 'User does not have permission to perform this action.Cannot find the object 'AspNet_SqlCachePollingStoredProcedure', because it does not exist or you do not have permission.' - after a quick hunt I found thishttp://forums.asp.net/p/1487216/3493362.aspx and followed the advice herehttp://msdn.microsoft.com/en-us/library/system.web.caching.sqlcachedependencyadmin.aspx and granted the user CREATE TABLE and CREATE PROCEDURE permissions.Still no joy - after digging around and looking at sql profiler I found what I believe to be the offending piece of sql:
/* Create notification table */ ...sql /* Create polling SP */ ..more sql ..finally GRANT EXECUTE ON dbo.AspNet_SqlCachePollingStoredProcedure to aspnet_ChangeNotification_ReceiveNotificationsOnlyAccess
My understanding is that to issue 'GRANT EXECUTE' the user must db_owner or db_secadmin. Indeed it all works fine if I give the service account user login the db_owner role.This sql is caused by: SqlCacheDependencyAdmin.EnableNotifications(ConnectionString), this is called once and once only by the application start event.Is there a work around for this? I would like to use the lower privilege account as per best practice but this issue is making it tricky.
I think that type of data types is really smart.and hope some can help me with something more.I could not find any links about it.Right now, I can only make a getdata (), which shows all data: