I'm wondering if I should learn everything in C# like what WPF and Win Forms should learn to be excellent web developer or is there specifc C# for the web?
im very new to ASP.NET and web based applications. I am very interested in building websites though. a friend told me " if you want to build web sites then forget ASP.NET as that is for applications, stick with HTML" .... but HTML is static code and ASP. NET is dynamic and surely better? the oinly one real thing that gets me though is this "if ASP.NET is used to build Web-forms and web based applications then what good is it for building web sites? ... a web based application and web site/ page are 2 different things? so if i want to get into building web sites for me and other people, what should i need to know? HTML, PHP ect?
Is it possible (using HTML5 Shiv, for example) to implement HTML5 on a Webforms-based platform? Will ASP.NET Webforms allow the developer to semantically mark up a page using the new HTML5 elements?
I am running into the problem described in http://support.microsoft.com/kb/962351/.The problem is that pop-out menus are not displayed in IE8 Standards mode (they show up as blank).There is a hotfix available. Unfortunately,my web hosting company (as many) do not install hotfixes, but rather wait for a fully tested and official patch.I am trying to find out:If and when this hotfix will be rolled into an official patch What some alternatives to this hotfix might be, to be sure that I am covering all the bases.
the account we use to copy/publish websites to our web server is not allowing us access to push websites. I've added this account to the permissions in the links listed in the below link, but i don't have success when trying to push remotely. When the account is in the local admins account, everything works flawlessly, but we are not allowed to have it in there. http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/31be047e-4716-4974-b8a1-be0111b50199 I've googled and searched a lot for this particular error, but am not finding an answer that helps. We get this error, 'Unable to create the Web 'http://edea01/test/planning'. You are not authorized to perform the current operation', and the above link is the scenario that matches mine the most. I don't do develompment work, but am asked to figure out this connection problem.
I've been searching google for recommendations on conventions or best practices when it comes to the 'case' and naming of files on folders within a Web Application.Most of the time I work within Visual Studio, developing ASP.NET web applications. In the past I've always used PascalCase for all of my files and folders, with the exception of Javascript files which tended to be camelCase.More recently
I have been doing dynamic PDF creation via ASP.net for some time -- in the form of HTML to PDF conversion. It works well for us, but we have accessibility requirements from the State to make everything is accessible. For static PDFs, we simply "tag" the files manually using Adobe's accessibility tools. Of course this does not work for dynamically created files. PDFs that I create dynamically fail the Acrobat Pro Accessibility test.
want to create PDFs dynamically in ASP.net, but producing PDFs that are tagged and can pass the Adobe Accessiblity test? I have researched many components, but none that I have found support tagging.
I am getting following error each time I tried to select database. The database 'DB Name' is not accessible. (Microsoft.SqlServer.Express.ObjectExplorer)
Note: My OS is Win Vista.
When I tried to open SQL Mgmt Studio as Run as administrator than I can able to access database properly.
why it is giving error.
I am also getting following error when my asp.net application is trying to access database.
Cannot open database "DBName" requested by the login. The login failed. Login failed for user 'PCNameabcd'.
I am not very good with SQL Server, how to create user and grant them permission in case that is what causing the problem.
I have application..its runnning on my localhost.. i need one more machine to access that application.. but when in tht link i type my IP address instead of localhost.. it showing cannot find server.. in orderr to access appplication to other machine.. as such there is no UAT server as of now...
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
I have developed a WCF .NET web service. It has evolved from a console application, hence some shortcuts were taken in VS 2008 rather than establishing the project from scratch as a WCF Web Service.
I have a page that i created a few weeks back.. had a few controls on the page.. everything worked and works great. Now this past week we had to me some changes to the page, adding a few more controls to the page.. the issue is that now, all the new controls.. (standard .net controls within VS2008) are not accessible from the code behind..
Example, if i add a textbox today to the page.. when i go to the code behind and begin to type textbox1. intellesense doesnt do anything.. and if i complete the line i get a wavy line under it..
In order to gain access to the textbox i have to add this to the code behind
I have an ajax tab container in an aspx page. Earlier I had 2 tab panels in the tab cotnainer. Now I want to add third tab panel. I could add the third panel but I am able to access the third panel, i.e. When I click on third panel, the panel is not shown(I didnt even get the handy cursor when i place the cursor on the third tab panel name).
In my namespace I can have public classes which are accessible to all other pages in my namespace. How do I go about having public functions? Do I have to create a class with the functions in it? Or is there an easier way?
So - to start with textbox1.text is set to 1. But - If I do a postback, the value of textbox is lost - it's just empty. I need to pick up the value of the textbox during "DoThis()" but it only works the first time round.
Surely the value of the textbox is accessible during Page_Iniit?
I'm doing somehting stupid here.
(And BTW - I have to call DoThis from page_Init as that method also adds other controls to the page but I need to get this code working first)/
i'm using VS2005 and when i drag and drop an image button, i can't access it from code behind. the following is an example of an unaccessible imagebutton
I have a web page that I am converting from classic ASP to ASP.Net. There are a bunch of "Select" controls (DropDown Boxes) that I am changing to DropDownList controls. I have set the "runat='server'" in all of these controls. However, when I go to the code-behind, they are not visible/accessible. I have tried to "clean" the solution and rebuild it and the controls still won't show.
On Default.aspx.vb page under on_load sub I'm setting a value on Session() but, if I try to access the same value on Default.aspx, it shows as empty. Here is the code:
I have an application that runs on a client's server built on a SQL Server 2005 database.We have now developed an ASP.NET v2 application which connects to this database. This web application will be hosted on an ISP's server but needs to access the SQL Server database on the client's server.
The client's server has a firewall and so forth so I assume it should be possible to make the SQL Server accessible via the Internet but of course I am woriied about security. Can someone point me to some best practices to achieve this.
I'm getting this error when trying to connect to SqlServer:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
A few points:All was working well 6 hrs before, and I didn't change anything.I get the error anytime I try to connect to a local database (not remote, but I tried anyway to allow remote connections and here's a screenshot of what I get - there's nothing there:
http://www.zumodrive.com/share/5OKBNDg0OT)Screenshot of trying to configure SqlDataSource control: http://www.zumodrive.com/share/5OJEYmVhMm Screenshot of trying to connect in Sql Server Management Studio: http://www.zumodrive.com/share/5OJINGQ2MG
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
After looking at about 200 examples on this and other sides, I combined several pieces of code that I found and created one to upload an image, give it a random name, verify that a file with that same names doesn't already exists on the server, resize the image 3 different ways; one keeping aspect ratio and two square thumbnails; and save them to different folders in the server. This is the code:
I get the error on intellisense: Overload resolution failed because no accessible DrawImage can be called without a narrowing conversion. ..... Argument matching parameter 'srcX' narrows from 'Double' to Inter... narrows from 'Double' to 'Single'.
There is content page where I have grid, when I click on it, I am displaying modal popup. Everything works fine. The only problem is: I have close button on top of the modal popup window. If modal displays on top of the image, and if I click on close button, then close button event will not fire, insted it redirect to google.com. All other controls besides image are not accessible. If image is not behind of modal (if I scroll down the page), then close button event works fine.