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


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

How to enable error detection in the options dialog box?

Posted By:      Posted Date: September 16, 2010    Points: 0   Category :ASP.Net
 
Hi, Good morning to All. I tried to use YUI style-sheet in my program. So, I have downloaded reset-fonts-grids.css from YAHOO. When I attached to my project, all styles text came in one line. I tried to format by using Ctrl + K + D. But my IDE is showing the following dialog box. Can anyone please suggest me how can I format the style-sheet? The error it showed is: ---------------------------Microsoft Visual Studio---------------------------Format Style Sheet The style sheet contains syntax errors and cannot be formatted.To view the errors make sure error detection is enabled in the Options dialog box.---------------------------OK   ---------------------------


View Complete Post


More Related Resource Links

Enable 32-Bit Applications --> Internal Server Error - 500

  
if im changing this flag of the iss to true, im getting the error 500   but i need this flag, to load a 32 bit assembly   is there a workaround or a solution?

Error while running Ajax Enable website....?

  
Hi, I just installed and ran a simple sample and got this error below. I'm running using VS 2005. I have installed ASP.NET AJAX Extensions 1.0 and ASP.NET AJAX Control Toolkit. Look like the tool kit version is 3.5 that is not compatible with ASP.NET AJAX EXTENSION 1.0? But I couldn't locate the ASP.NET AJAX CONTROL TOOLKIT version 2.0. Any idea how to corect this error? Thanks Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS1705: Assembly 'AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'Source Error: [No relevant source lines]Source File:    Line: 0

Ignore javascript error in modeless dialog

  
my problem is: 1. in Internet Option, i check Disable script debugging (Internet Explorer) and uncheck Display a notification about every script error 2. in my program, i open a Modeless dialog and have a script error in Modeless dialog my problem is Why i checked Disable script debugging (Internet Explorer) and Display a notification about every script error option, but error message still display? May i ignore javascript error in modeless dialog? thanks for your support!    

SP2010 enable variations root site ERROR

  
SP2010\ Variations : As indicated under the Note, I am adding the root level to the site webaddress by adding slash (/) . then I got error FILE NOT FOUND. any advice! thanks

DropDownExtender and jqueryui dialog results in javascript error

  


If I include an AjaxControlToolkit version 40412 DropDownExtender and a jqueryui 1.8.5 dialog on the same page I get a javascript error reporting that the "Object doesn't support this property or method".  If I remove the DropDownExtender jqueryui works without issue.  

Has anyone else run into this error?  AjaxControlToolkit seems like a dead end at this point, but while I'm migrating to jqueryui I'd like to be able to use both toolkits on the same webpage.


failed to enable constraints error

  

Hello

 

I am getting below error when trying to display list of providers, i really appreciate feedback on troubleshooting and fixing it.

 

 

Server Error in '/testload' Application.

Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.

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.ConstraintException: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.

Source Error:

Line 4828:            End If
Line 4829:            Dim dataTable As hivsystem.providersDataTable = New testloadsystem.providersDataTable
Line 4830:            Me.Adapter.Fill(dataTable)
Line 4831:            Return dataTable
Line 4832:        End Function


Detection of connection failure with error 0x80004005

  

HI, all,

We have an application server which will access a SQL server via OLE DB API.  We have encountered the "0x80004005.11" error ( with severity level 16 ) returned during a procedure call, and noted that following description was returned by the data provider:

"[DBNETLIB][ConnectionRead (recv()).]General network error. Check your network documentation."

It seems that this is some connection issue.  In order to make it transparent to our business user, we added in some error detections such that whenever we encounter the severity level 16, status 11 and "connection" word in the description, we will reestablish the connection again.  It works fine with the exact error returned.

However, we encounter another problem which should be related to some network connection issue between SQL server and disk.  And the application server is not able to detect and reestablish the connection.  This time, we noted that the "0x80004005.0" error ( with severity level 0 ) returned.  There is no information returned by the data provider while we can only noted that "Connection failure" returned in the basic description. 

We noted that there "0x80004005" will be returned under many different situation.  Is there any way for us to detect the connection issu

Detection of connection failure with error 0x80004005

  

HI, all,

We have an application server which will access a SQL server via OLE DB API.  We have encountered the "0x80004005.11" error ( with severity level 16 ) returned during a procedure call, and noted that following description was returned by the data provider:

"[DBNETLIB][ConnectionRead (recv()).]General network error. Check your network documentation."

It seems that this is some connection issue.  In order to make it transparent to our business user, we added in some error detections such that whenever we encounter the severity level 16, status 11 and "connection" word in the description, we will reestablish the connection again.  It works fine with the exact error returned.

However, we encounter another problem which should be related to some network connection issue between SQL server and disk.  And the application server is not able to detect and reestablish the connection.  This time, we noted that the "0x80004005.0" error ( with severity level 0 ) returned.  There is no information returned by the data provider while we can only noted that "Connection failure" returned in the basic description. 

We noted that there "0x80004005" will be returned under many different situation.  Is there any way for us to detect the connection issu

Error: Even id 1309 path 'OPTIONS' is forbidden

  

Hello,

I have an error in Application log, popping out every 2-3 minutes on the anonymous site :

Could anyone help?

My version is 12.0.0.6524

Thank you!

 

Event code: 3005 

Event message: An unhandled exception has occurred. 

Event time: 12/11/2010 12:05:45 μμ 

Event time (UTC): 12/11/2010 10:05:45 πμ 

Event ID: c660c61560a24bc58ed9d01d3b3777f3 

Event sequence: 206754 

Event occurrence: 178 

Event detail code: 0 

Application information: 

    Application domain: /LM/W3SVC/618284891/Root-1-129340195453237409 

    Trust level: Full 

    Application Virtual Path: / 

    Application Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\anonymousSite

 Machine name: ANONYMOUSMACHINE

Process information: 

    Process ID: 4928 

    Process name: w3wp.exe 

Exception information: 

    Exception type: HttpException 

    Exception message: Path 'OPTIONS' is forbidden. 

Request information: 

    Request URL: http://www.ANONYMOUS.gr/ 

 &n

How Do I Enable Inline GridView Editing?

  
Now that you have created a site with Edit and Details views, how do you enable inline editing in a GridView control? This video shows you how, and also touches on routing.

A Generic Dialog ViewModel

  
I worked on a wpf viewmodel for dialogs, because it seemed strange to me that you needed for instance windows forms dialogs to open or save files in wpf. So I set about creating my own wpf dialogs. After creating the dialog viewmodels there still remained a small issue with the library and also I didn't have much time to write an article about it. I however published the library containing the viewmodels for dialogs with another article on my blog

ASP.NET GridView - edit records using JQuery Dialog

  
There are many ways in which you could modify modular data in Grid View:
1. Inline by making rows editable when u click on Edit
2. By using separate pages for Edit
3. By using popups/dialogs for adding/editing

What Do the Different Printer Options using Windows Mobile Pocket Pc

  
Select Printer Options:
bullet Printer: Select the printer to print to. Some printer selections work for a variety of printers, such as the "HP PCL" selection which prints to most Hewlett Packard DeskJet, LaserJet and compatible printers.
bullet Port: Select between Infrared, Bluetooth, Network printing and Serial (COM1-COM8). Most Windows CE devices only have Infrared and COM1 and need special attachments to use the other selections. USB printing and printing across an ActiveSync connection to a desktop printer is not supported.
NOTE: On many Pocket PC devices, you CANNOT use the serial and infrared ports at the same time. This means that if your device is connected to your desktop PC using the serial Sync cable, the Infrared port will not work. You must disconnect the serial connection to use Infrared printing.
bullet Color/Mono: Select Monochrome (Black & White) if your printer is not a color printer (or if you wish to print in mono). If your printer has color capabilities AND has a black ink capability, select "4-Color CMYK". If your printer cannot hold both color ink and black ink at the same time, select "3-Color CMY".
bullet Paper Size: Select paper size for use. You can choose "Custom" and then set special paper sizes in the "Custom Paper" Width and Height boxes. For printers that use "roll" paper, you can set a maximum paper height of 22 inches.

More Settings O

IsapiModule Error 500 Issue

  

I am about exhausted trying to figure out this error:

HTTP Error 500.0 - Internal Server Error

Description: The page cannot be displayed because an internal server error has occurred.

Error Code: 0x8007007b

Notification: ExecuteRequestHandler

Module: IsapiModule

Requested URL: http://localhost:80/ReportServer

Physical Path: c:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer

When I enable Failed Request Tracing Rules and view the log output I am supposing that the actual problem is in the 2nd call where there are 2 backslashes before the actual filename in the specified path:

ISAPI_START

CALL_ISAPI_EXTENSION DllName="C:\Windows\Microsoft.NET\Framework\v2.0.50727\\aspnet_isapi.dll"

 

Handling 404 page not found with Error page

  

Hi,

      How do i handle 404 page not found?


Inserting personal error message in ValidationSummary

  

Hi,

I am creating a web form that requires a lot of validation. I use many of the validation control in asp.net already like RequiredFieldValidator and CompareValidator. 

My Problem: after my custom validation for the value entered return an error message, and I pressed enter key when the field is empty, my custom error message is overlapped by my ValidationSummary. 

Setting my custom error to visible = false on button click also does not seem to work as it requires for me to enter the value first.

This made me think, is there a way to insert my custom validation inside the ValidationSummary as an error message like for other validation control?

Thanks in advance


Gridview Enable Selection Problem

  

Hi,


I have a gridview with Enable selection and Enable Paging equals to TRUE.

I also set the PageSize of my gridview to 4 so that I only displays 4 rows per page.

The problem is when I click the pager in the bottom of my gridview, my gridview is disappearing and no records appear.


Here is code behind of my gridview:

If e.Row.RowType = DataControlRowType.DataRow Then
                e.Row.Attributes("style") = "cursor:pointer"

                e.Row.Cells(2).Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
                e.Row.Cells(3).Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
                e.Row.Cells(4).Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
                e.Row.Cells(5).Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
                e.Row.Cells(6).Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
   
Categories: 
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