.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

Can not solve this html error .

Posted By:      Posted Date: September 18, 2010    Points: 0   Category :ASP.Net
Hello everybody. i am trying to make my web site 0 html error at http://validator.w3.org for better seo but i have 2 html error atm and can not solve it could you please help me thank you   error results   http://validator.w3.org/check?uri=http://www.pokemoncraft.com/Pokedex&charset=(detect+automatically)&doctype=Inline&group=0   the code causes error  <div id="PokeNationIdTitleSort_Tr" style=" position:absolute; left:0px; text-align:center; width:48px; height:12px; line-height:12px; overflow:hidden; top:34px;"> <asp:ImageButton ID="btnSiralaPokeNationNo_Tr" onclick="SiralamaDegistirPokeNationNo" runat="server" /> </div> <div id="Loader" style=" position:absolute; top:64px; left:800px; overflow:hidden; width:64px; height:64px;"> <asp:UpdateProgress ID="UpdateProgress1" runat="server"> <ProgressTemplate > <% if (srLang == "en") { %> <asp:Image ImageUrl="~/images/gamepageimages/GamePageLoader_en.gif" ID="imgAjaxLoader" ToolTip="Waiting Server To Respond" runat="server" /> <%} %> <% if (srLang == "tr") { %>

View Complete Post

More Related Resource Links

Using Dynamic Property inside Html Helper with Razor fires an error



I have the following with Razor:

@Html.GoogleAjax(View.GoogleAjaxKey, new String[,] { { "jquery", "1.4.2" } })

And the I get a strange error:

  'System.Web.Mvc.HtmlHelper<object>' has no applicable method named 'GoogleAjax' but appears to have an extension method by that name. Extension methods cannot be dynamically dispatched. Consider casting the dynamic arguments or calling the extension method without the extension method syntax.

What is strange is that it works fine using:

@Html.GoogleAjax("123", new String[,] { { "jquery", "1.4.2" } })

I tried the following code line:


And the key is displayed just fine so the problem is how I use the value of @View.GoogleAjaxKey into Html.GoogleAjax.

Do I need to change something on my Html Helper? Here it is:

    public static MvcHtmlString GoogleAjax(this HtmlHelper helper, String key, String[,] libraries) {


How can I solve this problem?::Compiler Error Message: CS0433: The type 'CrystalDecisions.Web.Cryst


I upgraded my web application from visual studio 2003 to 2008. When I want to create a report in visual studio 2008 and receiving this error at runtime. I am able to compile but when runnning thats when I am getting this error.

How can I solve this problem? please help.

Compilation Error

Server Error in '/IRPSDEV' Application.

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: CS0433: The type 'CrystalDecisions.Web.CrystalReportViewer' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.Web\10.5.3700.0__692fbea5521e1304\CrystalDecisions.Web.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\irpsdev\9e97e0a9\94a2ecd\assembly\dl3\151eb571\00df56e1_6064c201\CrystalDecisions.Web.DLL'

Source Error:

Line 161:        
Line 162:        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 163:        private global::CrystalDecisions.Web.CrystalR

Please solve this error..

Server Error in '/Study' Application. -------------------------------------------------------------------------------- Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index  int j=0; foreach (GridViewRow row in GridViewTest.Rows)         {             CheckBox cb = (CheckBox)row.FindControl("checkboxItems");              arrayCheckbox[j] = GridViewTest.Rows[j].FindControl("LabelEmpname");               j++;        } Server Error in '/Study' Application.--------------------------------------------------------------------------------Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: index int j=0; foreach (GridViewRow row in GridViewTest.Rows) { CheckBox cb = (CheckBox)row.FindControl("checkboxItems"); arrayCheckbox[j] = GridViewTest.Rows[j].FindControl("LabelEmpname"); j++; } Hello friends please solve my error..

How to solve this "Smtp: Mailbox Unavailable or not local " error ?

I am trying to send Email to the Email Addresses stored in the Database, some are working fine but I am getting stuck when I get hit with this error.. The server rejected one or more recipient addresses. The server response was: 550 Requested action not taken: mailbox unavailable or not local I think this is something to do with SMTP Virtual Server Settings in IIS but i dont know what actually i should change over there. The code in the ASP.NET page worked for 40-50 mail addresses but suddenly i am getting this error Can anyone help please. Any ideas will be of great help to me .. Thanks in Advance

please solve my error ...in DateTime


Dear Members

               Please See the Following Code

DateTime startDate = new DateTime(); // 01/01/0001 is the default date.

            DateTime endDate = new DateTime(); // 01/01/0001 is the defaut date.


            if (!string.IsNullOrEmpty(textBoxStartDate.Text.Trim()) &&



                DateTime.TryParse(textBoxStartDate.Text.Trim(), out startDate);

                DateTime.TryParse(textBoxEndDate.Text.Trim(), out endDate);


I have given some date in both (textBoxStartDate and textBoxStartEndDate).

But while the Debugging, i found that  startDate and endDate doesn't takes the values from both texboxes....(it always shows /takes the default date(1/1/0001)..

Please find out my error..


DateTime startDate = new DateTime(); // 01/01/0001 is the default date.

How to solve this error This form template is not currently browser enabled?



I would like my form be browser enabled. Users wont use InfoPath to fill it.

Enviroment: Sharepoint2010, form was created in Infopath2010 

InfoPath form properties:

  Security and Trust: Automatically dtermine security level

  Compatibilyty Form type: Web Browser Form

The form was published as a content type to my site. I checked my form for browser compatibility - it was ok.

In my Form library 

   Allow managment content type = Yes

   Opening Document in the Browser = Open in Browser

The features Enterprise feature are enabled on site collection feature and site feature.


But it is still impossible to view my form in browser. The error is appeared: This form template is not currently browser enabled.

Who knows what is wrong? How to make my form web browsable?






Couldnot solve this Unknown Build Error


I am trying to run the project that was developed in another system under Visual Studio 2010. It is running without any error on that System, but when i tried to run it on my System it continuously generates the following error and the build process always fails.

Unknown build error, 'Could not load type 'System.Runtime.Versioning.TargetFrameworkAttribute' from assembly 'mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'.'

Can anyone help me to solve this error.


Saugat K.C.

how to solve "Cannot complete this action." error on Require documents to be checked out with https


In our SharePoint environment, when the user try to change "Require documents to be checked out before they can be edited?" to Yes in "Document Library Versioning Settings" screen in Default mode, it works fine. But if the user do the same action in "Internet" mode which we configured as "https", it throws the error like "Cannot complete this action. Please try again."

Could anyone please let me know about how to resolve this issue?

www.aristonsoft.com - .net 3.5 hosting provider in India

How to solve Application error at the time of starting debugger

Hello all,

This is my first post here. So if I posted in wrong forum point me to the correct direction.

I have installed Visual Studio 2005 (.Net 2.0) in my Windows Xp Service Pack 2 operating system.
When the setup had finished the wizard displayed me the following message :-

Visual Studio Setup is complete.
Setup is completed with some warnings."

Now when I clicked the "View Error Log" link a web document opened and there I found so many lines. Of them one is :-

"Failed to copy the file properly Webdev.Webserver.Exe"

Now when I'm trying to launch Vs2005 IDE, it is working but when I'm trying to run my programs by pressing F5 or anyone of the available debugger options I'm fetching the following errors :-

In case of windows applications (regradless whether the selected language is VB or C#) :-
"The application failed to initiliaze properly (0xc000007b). Click on OK to terminate the application."

In case of web a

SPD Workflow error only when I add HTML to the email


I've created similar emails before with sharepoint designer.

When I add HTML to format the email in my workflow, the workflow fails. but if I remove it, it completes without a problem.

ASP.NET, HTML, JavaScript Snippet Support (VS 2010 and .NET 4.0 Series)

This post covers another useful improvement in VS 2010 - HTML/ASP.NET/JavaScript snippet support. Snippets allow you to be more productive within source view by allowing you to create chunks of code and markup that you can quickly apply and use in your application with a minimum of character typing.

Visual Studio has supported the concept of "snippets" for VB and C# in previous releases - but not for HTML, ASP.NET markup and JavaScript. With VS 2010 we now support snippets for these content types as well.

Maintain HTML Radio Button Selection Inside GridView After Postback

Long time ago I wrote an article about getting the value of the selected RadioButtons inside the GridView control. The code did not addresssed the postback issue which means that the selected radio button was cleared after the postback occurs.

Rendering ASP.NET Script References into the Html Header

One thing that I've come to appreciate in control development in ASP.NET that use JavaScript is the ability to have more control over script and script include placement than ASP.NET provides natively. Specifically in ASP.NET you can use either the ClientScriptManager or ScriptManager to embed scripts and script references into pages via code.

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:


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


Handling 404 page not found with Error page



      How do i handle 404 page not found?

Inserting personal error message in ValidationSummary



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

Getting value of Html.TextBoxFor(m => m.name)


Hi All,

I am new to Asp.net MVC 2. I am unable to get value for Html.TextBoxFor(m = > m.name) in view. I can get this value in Controller.

How to get this value in view.

Please help.

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