Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

Bajrang Singh

@Bajrang Singh
About
Posts
50
Topics
29
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))
    B Bajrang Singh

    Thanks Gray for reply. Since error comes on server, I am not able to get the exact line or page but once this error comes, it starts showing on all pages. but funny thing is that when server stops and starts again, it start working fine again. (I just renamed the web.config so site stop working and then undo renaming to start the server, and site starts working fine) Do not know the exact problem,

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET csharp sysadmin help question

  • Unable to connect to any of the specified MySQL hosts.
    B Bajrang Singh

    Hi I created website in ASP.NET 2.0 and MYSQL. MYSQL data base is at remore server. I can connected to MySQL successfully but when I upload my site to Share hosting, it throws following error. I think ,On my local m/c I have installed MYSQL management tool so I can connect successfully but on shared hosting, it may not so this error is coming, Any clue how can we enable our remote shared host to connect to MYSQL. [MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.] MySql.Data.MySqlClient.NativeDriver.Open() +1142 MySql.Data.MySqlClient.Driver.Open() +69 MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) +89 MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection() +11 MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() +257 MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() +117 MySql.Data.MySqlClient.MySqlPool.GetConnection() +113 MySql.Data.MySqlClient.MySqlConnection.Open() +309 System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +31 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +112 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +92 ASP.test_aspx.getuser() in d:\hosting\5454799\html\Testing\test.aspx:25 ASP.test_aspx.Page_Load(Object sender, EventArgs e) in d:\hosting\5454799\html\Testing\test.aspx:12 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesA

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET csharp html asp-net mysql design

  • The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))
    B Bajrang Singh

    May be you are right. Actually I am using rackspace cloud storage and It needs .net 3.5 framework, Though I am using VS 2008 at my local PC but hosting server .net 2.0 is used. and it runs fine there on hosting server also. after 1-2 days it gives this error. One more thing my Local IIS server is also using asp 2.0 version but it never gives error like this. Any clue? Thanks in advance

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET csharp sysadmin help question

  • The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))
    B Bajrang Singh

    Hi , I am facing an error from a long time. My web application some times gives error 'The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))' on server. I never comes on production server. Then I just upload the bin folder again on server and it starts running fine. I don't know what is the actual reason behind this. Some experts suggested Min pool size =1, I applied that but no luck. I have attached error image. Please let me know if you have any clue thanks

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET csharp sysadmin help question

  • Conversion: asp.net 2.0 ajax enabled web site to asp.net 3.5
    B Bajrang Singh

    Hi, I've asp.net 2.0 ajax enabled web site in which I used Ajax update panels in pages. Now I want to convert it into asp.net 3.5 but it gives errors for Ajax tool kit and script manager and update panel used in pages. I don't want to remove ajax functionality from my site, so is there a way to convert them without removing ajax update panels from pages. On my PC I've installed both VS2005 and VS2008. Any suggestions is appreciated. Thank

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET csharp asp-net tools announcement

  • common encryption method
    B Bajrang Singh

    Hi all, I there any common in built class to encrypt password in java(black berry, android api) and objective c(iphone). I heard about Md5 but don't know whether it is available for all these languages. thanks & regards

    Bajrang Singh Using .net 2.0 (VS2005)

    C# csharp java android ios security

  • Validation of viewstate MAC failed
    B Bajrang Singh

    Thanks Jinal for reply, Is there any method to put this exception in try catch and redirect to login page?

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET csharp help tutorial

  • Validation of viewstate MAC failed
    B Bajrang Singh

    Hi All, I have a web page that shows all contacts and its running fine. When user doen not activity for some time and after that user clicks the button to download records, its shows message: Validation of viewstate MAC failed I not getting where this problem arise and what to do to solve. One imp thing, after being inactive for some time when I logout and then log in then its works fine. I assume it can be session timeout problem, but dont know how to deal with it. Any Suggestions is appreciated Thanks

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET csharp help tutorial

  • System.Security.SecurityException
    B Bajrang Singh

    Thanks Jindal for reply. I've got this solution from many site but I didn't find assemblyInfo file in my web site and I didn't get any option to add it ( I think it added automatically). I created website as ASP.NET AjaxEnabled Web Site and AssemblyInfo file was not there) Could you pls tell me what is the option to add AssemblyInfo file. Thanks

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET help csharp sysadmin security

  • System.Security.SecurityException
    B Bajrang Singh

    Hi all, I am using third party tool in my web site. Its running fine on my dev. PC. but when I upload it to server it says "System.Security.SecurityException: That assembly does not allow partially trusted callers." when I read about this error, many suggest to get it set trust level to high by admin because developer can not overwrite this. Is there any other solution of this problem. Thanks

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET help csharp sysadmin security

  • how to get automatic no in alpha numeric no from database
    B Bajrang Singh

    you can take help from following link, http://blog.sqlauthority.com/2007/04/29/sql-server-random-number-generator-script-sql-query/ Hope it will help,

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET csharp tutorial asp-net database help

  • Creating Image on basis of space used
    B Bajrang Singh

    Hi All, I want to create an Image to show the used space of each user. I explain it in details. Each user can login and can upload its document on the web. I want to calculate that space and want to show the space used from of Image like attached. I have calculated the space for logged in user but unable to create Image on basis of this calculated space. Any help is appreciated. Thanks

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET csharp help

  • Ajax animation effect not working
    B Bajrang Singh

    Hi all I have Ajax enabled website. Its working fine in my local server (Ajax animation effects are working) but on the server its not working. Pages showing javascript error 'sys' not defined'. I have added ajax dlls and System.Web.Extensions.dll into website's bin folder. but does not work. Many post suggests adding httphandlers and httpmodules like... <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/> </httpHandlers> After adding httphandlers, it starts showing 500 - Internal server error. and if I remove httphandlers section, it start working but ajax animation does not work. Have any idea? ASP.NET 2.0 with IIS 6

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET csharp javascript asp-net sysadmin windows-admin

  • How to Add a Font in Setup Project
    B Bajrang Singh

    Hi ALL, I need to add a hindi font in my set up project(C#) so that client does not need to install that font seprately. So should I add that font in my project. I copied that font in my setup but it simply get copied to the target machine but doesnot get install itself. Please let me know how could I do this so that it get automatically installed in windows font folder. Thanks a lot

    Bajrang Singh Using .net 2.0 (VS2005)

    C# csharp tutorial workspace

  • Image size checking
    B Bajrang Singh

    Try this. Sub submit(Sender as Object, e as EventArgs) fname.InnerHtml=MyFile.PostedFile.FileName clength.InnerHtml=MyFile.PostedFile.ContentLength End Sub Select file to upload to server: FileName: ContentLength: bytes

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET database help question

  • add header after each 15 Records
    B Bajrang Singh

    Hi all, Some time before I was struggling with Page break. now I found the method for page break nad still finding to add columns headers after 15 rows. I am using the following script to set up the page break after printing 15 items in a page. It is working all right. Is there any other way to insert page break after certain page margin? protected void GVMaterialMovement_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { count++; if(count > 15) { e.Row.Style.Add("page-break-after", "always"); count = 0; } } } Is there any similar way to add header after each 15 Records?

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET csharp tools question

  • javascript+gridview+asp.net
    B Bajrang Singh

    Hi all I want to know How can we define no of rows in a window. but this script writes all rows of that gridView. So How can we control no of rows so we can print as many no of record as we want. Is there any other function Please let me know. Your help is highly appreciated, Thanks function CallPrint(strid) { var prtContent = document.getElementById(strid); var strOldOne=prtContent.innerHTML; var WinPrint = Window.open('','','letf=100,top=100,width=1000,height=1000,toolbar=0,scrollbars=1,status=0,resizable=1'); WinPrint.document.write(prtContent.outerHTML); WinPrint.document.close(); WinPrint.focus(); WinPrint.print(); WinPrint.close(); }

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET csharp javascript asp-net tools help

  • add header in GridView
    B Bajrang Singh

    Thanks Atarikg But I have mentioned in first mail that I am talking about GirdView's header not Its cell's individual headerText. And also How to insert that Header after Each 10 Records. Any hint is thanksful Bye

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET csharp tutorial

  • add header in GridView
    B Bajrang Singh

    Hi all, Is there is any way to add header (not cell header) before cells headers in a GridView after each 10 Records. so that in printing each 10 Records have a heading. Please guide me thanks

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET csharp tutorial

  • GridView printing problems
    B Bajrang Singh

    Thanks ToddHileHoffer for suggestions. I am using BoundFields not the template column, So please tell me how can I insert a page break after each 15 records using BoundFields. Thanks Again. Bye -- modified at 4:18 Wednesday 4th July, 2007

    Bajrang Singh Using .net 2.0 (VS2005)

    ASP.NET csharp javascript css question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups