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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
A

Amit Sk Sharma

@Amit Sk Sharma
About
Posts
44
Topics
25
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to retrieve FAST search results in custom solution using c#
    A Amit Sk Sharma

    I am using console application to retrieve search results in data table. previously this code was working fine with SharePoint search service application. by the time SSA has been replaced with FAST search using a connector.(Connector is having Content source defined in it.) My issue is my already working code stopped working, i am using Keyword query. some where on net I found that I need to set keywordquery.EnableFQL = true This I did in my code but it didn't work at all. Looking forward for solution. Thanks

    With Thanks & Regards Amit Sk Sharma

    SharePoint csharp sharepoint database help tutorial

  • windows datagrid drill down returns relation name [modified]
    A Amit Sk Sharma

    I have more than one tables in my dataset and I have defined relationship between them. sqlDataAdapterClients.Fill(dataSetTimeTracker, "Client"); sqlDataAdapterProjects.Fill(dataSetTimeTracker, "Project"); dataSetTimeTracker.Relations.Add("Intake2Episode", dataSetTimeTracker.Tables["Client"].Columns["ClientID"], dataSetTimeTracker.Tables["Project"].Columns["ClientID"]); dataGrid1.SetDataBinding(dataSetTimeTracker, "Client"); Now my datagrid shows me rows from Client with plus sign and when I click on that plus sign it shows name of relations "Intake2Episode" as a link there in place of respective rows from Project table. wish I could share the screen shot with you. My issue lies here, I am not clear from where (which setting needs to be done)I can get actaul rows in place of relationship.

    With Thanks & Regards Amit Sk Sharma

    Windows Forms question

  • windows datagrid drill down returns relation name [modified]
    A Amit Sk Sharma

    I am using datagrid control to display drill down data through a dataset. it works fine i.e. displays parent records in required manner (with a plus sign) but on click of plus in place of showing child rows it shows a link with name of relation I defined in dataset. can any one suggest me where I am missing?

    With Thanks & Regards Amit Sk Sharma

    modified on Wednesday, June 29, 2011 6:56 AM

    Windows Forms question

  • Need to kill thread when application is closed
    A Amit Sk Sharma

    I m already using this, when I close application, window is closed but process and thread both continues with their execution. experimenting with background worker, will respond soon if target achieved.

    With Thanks & Regards Amit Sk Sharma

    .NET (Core and Framework) database help tutorial

  • Need to kill thread when application is closed
    A Amit Sk Sharma

    I just took a reference from google, not copied.but yes I think 'm lacking sm whr with concepts so 'm here. exactly what I m looking for is how to manage the threads and process through code in desktop application when my application terminates unexpectedly.

    With Thanks & Regards Amit Sk Sharma

    .NET (Core and Framework) database help tutorial

  • Subversion Recommendation
    A Amit Sk Sharma

    visual SVN is good option but as you need stand alone one, Tortoise SVN works fine.

    With Thanks & Regards Amit Sk Sharma

    The Lounge csharp visual-studio collaboration question announcement

  • Need to kill thread when application is closed
    A Amit Sk Sharma

    on top right or Alt+f4 etc.), threads and process both should get terminated but actually my application still remains there in Task Mgr process list and threads continue their execution.
    Please let me know how to terminate threads and process explicitly. I made RnD on google and applied some of work-around but in vain.

    With Thanks & Regards Amit Sk Sharma

    .NET (Core and Framework) database help tutorial

  • Accessing WCF service
    A Amit Sk Sharma

    adding a service reference is better way. alternatively you can use "svcutil" to create a proxy of your service. for that u need to open your command prompt. open the folder where your svcutil.exe exists physically. (alternatively u can copy it in one newly created folder) then execute following command. svcutil.exe "url of your WCF service" as parameter. it will give you two files one cs and one config file. include the ".cs" file in your Windows application and merge .config file's contents to your application's app.config. it's a manual process in comparison to Add Service Reference. but it works fine.

    With Thanks & Regards Amit Sk Sharma

    WCF and WF question csharp wcf windows-admin

  • thick box responds me with session time out
    A Amit Sk Sharma

    Hi All, I am using thickbox to display my child windows. When I goto the page to be displayed in thickbox for first time, it gives me session time out(unauthorized). but if I go to same page second time (just close and reopen) it works fine!!! @one place this issue I am facing with IE only.(on Mozilla and Safari it's working fine) :doh: and on another page it's showing error with all browsers Please suggest me anything I am clueless. :((

    With Thanks & Regards Amit Sk Sharma

    JavaScript help

  • WCF is not accepting MaxarrayLength provided
    A Amit Sk Sharma

    Hi pete! thanks for ur efforts I changed my approach and now savign my large objects by dividing them in byte chunks. although target achieved but am still surprised why it's limiting to 16384 bytes only when I have defined a large amount in my config files. BTW Thanx for your suggestions.

    With Thanks & Regards Amit Sk Sharma

    WCF and WF help csharp database wcf data-structures

  • WCF is not accepting MaxarrayLength provided
    A Amit Sk Sharma

    I chked app.exe.config also, it's fine and having same definition as my app.config.One thing I came to know and tried is to set messageEncoding="Mtom" in place of messageEncoding="Text" in binding. but when I tried to run my application after making this change @ both web and app config files it's giving me error. Content Type multipart/related; type=application/xop+xml";start="";boundary="uuid:4315cc2d-0992-4489-9f75-dffa0515f4c5+id=1";start-info="text/xml" was not supported by service . Theclienyt and service bindings may be mismatch. I tried with Mtom/Text and Text/Mtom combinations also in app/web but same response. Binding definition in my app.config and web.config is as follows: <bindings> <basicHttpBinding> <binding name="BasicHttpBinding_IPFCS" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Mtom" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"> <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> <security mode="None"> <transport clientCredentialType="None" proxyCredentialType="None" realm="" /> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security> </binding> </basicHttpBinding> </bindings> and the error I am gettign is “The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:objExportLog. The InnerException message was 'There was an error deserializing the object of type PFCSBAL.ExportLog. The maximum array length quota (16384) has been exceeded while reading XML dataThis quota may be increased by changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader.. Line 1, position 41073.'. Please see InnerException for more details.”

    With Thanks & Regards Amit Sk Sharma

    WCF and WF help csharp database wcf data-structures

  • WCF is not accepting MaxarrayLength provided
    A Amit Sk Sharma

    yup! I have defined the same length in web.config also. both app.config and web.config are having same definition for binding and ReaderQuotas. What I feel is my application or WCF service is not able to read values from respective config file as it's working fine with a file upto 16 kb but crashes if file is bigger in size. or else there is some setting in environment which is overriding the values i specified in config files.

    With Thanks & Regards Amit Sk Sharma

    WCF and WF help csharp database wcf data-structures

  • WCF resricts on MaxArrayLength
    A Amit Sk Sharma

    Agreed n sorry, but I saw WCF later when I had already put this question in C#. as it's related to WCF so I put there. as a moderator u can remove it from C#.

    With Thanks & Regards Amit Sk Sharma

    C# help csharp database wcf data-structures

  • WCF is not accepting MaxarrayLength provided
    A Amit Sk Sharma

    I have created one windows application to communicate with WCF service. I am providing one array of bytes(saving a file into DB through WCF). It works fine. Issue occures when size of my file exeeds 16KB i.e. 16384(Dafault Max Array length) Issue is I have already set the maxArrayLength to 2147483647 but still application goes with default(16384) and gives me an error.I am puzzeled that from where it's taking this default value when I have made changes in my local app.config. Please do help me if any one knows a walk-through.

    With Thanks & Regards Amit Sk Sharma

    WCF and WF help csharp database wcf data-structures

  • WCF resricts on MaxArrayLength
    A Amit Sk Sharma

    I have created one windows application to communicate with WCF service. I am providing one array of bytes(saving a file into DB through WCF). It works fine. Issue occures when size of my file exeeds 16KB i.e. 16384(Dafault Max Array length) Issue is I have already set the maxArrayLength to 2147483647 but still application goes with default(16384) and gives me an error.I am puzzeled that from where it's taking this default value when I have made changes in my local app.config. Please do help me if any one knows a walk-through.

    With Thanks & Regards Amit Sk Sharma

    C# help csharp database wcf data-structures

  • Application deployed on MC3090 gets erased... Help required
    A Amit Sk Sharma

    Hi Hope it's right Forum to put my question... I have developed & deployed one dotnet application "Dual Bar Code Scanner" on MC 3090 but whenever battery is discharged or removed from device, and attached again, all other applications exist there except of my application. I wish to know; do I need to register my application at the time of installation? or any other requirement is there to make my application stable...... please help me to resolve the issue Awaiting for positive

    With Thanks & Regards Amit Sk Sharma

    Mobile help question csharp

  • how can i change the bg color of a master page from one of its child page programatically
    A Amit Sk Sharma

    Put all Master page content in a div control with ID and runat="server" inside form like : Form opening TAG DIV u will put all page stuff DIV close TAG Form Close tag and then use following in your content page code where u wish to change the bgColor for master page CType(Me.Page.FindControl("ctl00$div1"), HtmlGenericControl).Style.Add("background-color", "Yellow") where div1 is the DIV control ID in ctl00$div1

    With Thanks & Regards Amit Sk Sharma

    ASP.NET

  • I want to dynamically access particular session of the application [Its urgent]
    A Amit Sk Sharma

    U can put a log there in DB with user ID of the person deleting record. When any one tries to fetch deleted data refer log table first and if it has entry for the same; pick user name from there and if no record exists for tht student(ur example)in log, pick actual data and display it. Hope it will give u a solution

    With Thanks & Regards Amit Sk Sharma

    ASP.NET

  • I want to dynamically access particular session of the application [Its urgent]
    A Amit Sk Sharma

    ur end target is to show username in message ie."Deleted by ". Is it?

    With Thanks & Regards Amit Sk Sharma

    ASP.NET

  • Facing problem Connecting ASP.NET App with Informix DB
    A Amit Sk Sharma

    Hi All, I need to connect my ASP.NET application with Informix DB installed on Linux m/c. I tried to create ODBC for the same after installing IBM Informix connect runtime 2.9 and Infomix CSDK 2.9 as well as version 3.0 of both.but failed to create ODBC. My windows server is Win2003 and Informix DB is on Linux. I wish to know in detail about the parameters being used to create an ODBC for the same. Or how to creat ODBC for the same? I tried it with but no success there. Thanks in advance

    With Thanks & Regards Amit Sk Sharma

    ASP.NET
  • Login

  • Don't have an account? Register

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