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
I

IamMohan

@IamMohan
About
Posts
22
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • deserialization error: no deserializer is registered for schema type: hashMap
    I IamMohan

    Hi, I am consuming a Java web service from my .NET client application. I am able to send and receive all primitive types but when I send ArrayList of Hashmaps to Java Web Service, I am getting the following error. "caught exception while handling request: deserialization error: no deserializer is registered for schema type: hashMap" Please find the code that I wrote given below. Kindly help me to fix this problem. private void Form2_Load(object sender, EventArgs e) { object[] objarray = new object[1]; MyWebService1 ts = new MyWebService1(); arrayList al = new arrayList(); hashMap hMap = new hashMap(); mapEntry[] mEntryArray = new mapEntry[1]; mapEntry mEntry = new mapEntry(); mEntry.key = "ert"; mEntry.value = "54"; mEntryArray[0] = mEntry; hMap.mapEntry = mEntryArray; objarray[0] = hMap; al.item = objarray; // = objarray; arrayList alt; alt = ts.testArrayListOfArrayListOfHashmap(al); }

    M-o-h-a-n

    ASP.NET help csharp java database xml

  • Files to Deploy in ASP.NET 2.0 (Urgent)
    I IamMohan

    navneeth, I'm back with few queries again:)In VS 2003 we can configure the build or output type for Website project to dll rite? why I don't find any such options in VS 2005 Team Edition? Can you help me on this?

    M-o-h-a-n

    ASP.NET csharp asp-net sysadmin help question

  • How to get dll's for WebSite project in ASP.NET 2.0
    I IamMohan

    Hi, I have created a solution consist of 2 C# class libraries and 1 Website project of http system type. But When I build it is not providing me with dll's for website project. Can any body help me on this? I'm working on VS2005 Team Edition for Software Developers. Thanks in Advance

    M-o-h-a-n :)

    ASP.NET csharp asp-net collaboration help tutorial

  • Files to Deploy in ASP.NET 2.0 (Urgent)
    I IamMohan

    Thanks Navaneeth:)

    M-o-h-a-n

    ASP.NET csharp asp-net sysadmin help question

  • Files to Deploy in ASP.NET 2.0 (Urgent)
    I IamMohan

    Hi, I'm working on ASP.NET 2.0, I have set of .aspx pages,codebehind files and some reference classes under App_code folder. My Queries are: 1) If I wanna to move the application to the target server (Production server) which are all the files I should move? 2) In ASP.NET 2.0 no dll files are generated for website projects, then is it safe to deploy aspx.cs files as well? Please its urgent..help me out in this Thanks in advance

    M-o-h-a-n

    ASP.NET csharp asp-net sysadmin help question

  • Session Variables and web services.
    I IamMohan

    Very well you can use Session object in webservice that has been passed by a web application.

    M-o-h-a-n

    ASP.NET csharp wcf security question

  • Search specific Column of a database
    I IamMohan

    Hi, Follow the steps below:
    Create a following stored Procedure in SQL Server 2000/2005. Give the table name(In the Procedure) you want to query CREATE PROCEDURE [dbo].[TEST_PARAM] @Param varchar(100) AS BEGIN declare @dynamicQuery NVARCHAR(4000) set @dynamicQuery = 'Select ' + @Param + ' from TABLE_NAME ' exec sp_executesql @dynamicQuery END 2> This above store procedure will return all the values in the column you passed as a parameter. 3> On the server click of the Search button call this stored procedure by passing the columnName as in the table as a parameter and fill the values returned by the stored procedure in a DataSet ds. 4> Any have you know the columnName the user selected, use the same name in the select filter, like: GridView1.DataSource = ds.Tables[0].DefaultView.RowFilter = "ColumName = '" + txtSearchBox.Text.Trim()+ "'"; 5> Then the the grid View will be binded with the needed values. Thatz it. :-O

    M-o-h-a-n

    ASP.NET learning database

  • C#.net date Conversion Problem
    I IamMohan

    Hi, if you getting the date as dd/MM/YYYY format(e.g, 31/01/2007) convert it to the .NET compliant date format like, 31/JAN/2007. You can simply do so by calling the function GetMonth. string dateValue = "31/01/2007"; string month = GetMonth(dateValue.Split('/')[1]); Then perform the following DateTime.Parse(stringDateTime); You can easily set the datetime for the corresponding string public string GetMonth(string monthNumber) { string [] monthName = {"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Nov","Dec"}; return monthName[Int32.Parse(monthNumber)- 1]; } -- modified at 4:58 Wednesday 28th February, 2007

    Mohan

    C# csharp help

  • How to create .NET SOA Web service ?
    I IamMohan

    Hi, There is no difference between SOA webservice and normal webservice, Webservice is a specialized implementation of SOA, its is framework that allows you to intercommunicate with the variant objects of different technology or platform. The procedure to create a webservice is: 1) Open VS 2005 IDE and create a new Project of Webservice type 2) You will gain access to the projectName.asmx file 3) Under that u can add your own custom webmethods like, [WebMethod] pubic void GetFirstOutput() { // Executable C# or VB.net code } 4) Build the code. 5) Implement this service from other webapplicaion or Windows application, by adding the webreference from the implementing project, solution explorer->Project->Right click->Add Web reference, provide the URL like http://localhost/Alias Name/ProjectName.asmx (Which you have created) 6) Add the namespace for the webreference made and to the implementation project and access that GetFirstOutput() method

    Mohan

    ASP.NET csharp visual-studio tutorial question

  • Passing variables from one application to other web application
    I IamMohan

    The second work around is: 1) Have a common helper class in the Application class that should be a static singleton class and define the attributes according to your requirement(s) in the class 2) Set the value in the respective variable of that class(Singleton) from Application 'A' 3) Add the refernce of the application in Applicatin 'B' and include the namespace and access call the custom method(has to be defined in the Singleton class of app 'A') that inturn returns the required value also it is persist accross applications I'm sure this would be the appropriate solution

    Mohan

    ASP.NET question help

  • Passing variables from one application to other web application
    I IamMohan

    Hi, I have one work around for this, Any have this applications (A & B) are gonna be available on the same server and share the same machin.config file, So what you can do is add a new key and have some default value set for the key and during runtime set the value for that key from Application 'A' and access the same from the Application 'B' ensure there is no default value so that you can get the value set by the Application 'A'

    Mohan

    ASP.NET question help

  • Passing variables from one application to other web application
    I IamMohan

    You can pass a value in form a Query string to other application like, You can place the value inside the session from one application to the other application,This solution will be workable only if these two apps share a common session, means same server:) If this two application is in different server then try this, http://ServerName/AliasName/FileName.aspx?name=value, just pass the value as a query string

    Mohan

    ASP.NET question help

  • How to generate XSD schema in VS2005
    I IamMohan

    Hi, Can you guide me how to create a XSD schema in VS 2005 adhearing webservice as a source for the schema? From the Visual Studio 2005, I can able to create a new XSD from the New Item dialog box, but I culd not able to proceed to create a XSD for a webservice? Please give me the solutin for this? Thanks in advance

    :)Mohan

    ASP.NET visual-studio tutorial csharp database xml

  • difference between
    I IamMohan

    The first one (System.Array.CopyTo()) performs a deep copy of the array, the second one(System.Array.Clone()) is shallow copy of the array:) Mohan

    C# data-structures question

  • how to change the default internet explorer in vs2005
    I IamMohan

    Hi, Do thses steps: 1. Open a webform ( like default.aspx ). 2. Select "Browse With..." in the "File" menu 3. Set "Internet Explorer" the "Default" browser It should work:)

    Mohan

    ASP.NET question csharp asp-net help tutorial

  • How to get User account disabled time as a user property from SQL Server
    I IamMohan

    :confused:Hi, I want to fetch the user account's disabled date and time from Active Directory Service through SQL Server Query. Please provide me the solution if you would have came across working with ADS.

    Mohan

    ASP.NET database sql-server sysadmin windows-admin tutorial

  • how do you test (through code) if the web service is available
    I IamMohan

    Hi, Do you want to test whether the webservice is available or to know whether the available webservice is running?? When you want to test whether the avilable webservice is running: 1) It will throw a runtime exception as soon as you instantiate the Websevice in your implementation page. When you want to test whether the webservice is available: 1) It will not allow to connect to the particular URL if it is not avaialbel from the WebReference dialog box. ;) Regards

    Mohan

    Web Development csharp help question

  • How to sense user's session's timeout
    I IamMohan

    Hi, We have 3 servers, under each servers certain applications(20 applications) are launched. For all these applications the authentication is to be done once(Single-Sign on). But, in case if users session is timeout in one application on one server, how the other applications in other servers can sense the same. Give some soution for this. :confused:

    P. Mohan

    ASP.NET sysadmin security tutorial

  • solution to PostBack? [modified]
    I IamMohan

    Is that TextBox is inside any other controls like DataGrid,DataList or Panel. The reason for the Problem could be: 1) If the TextBox(txtxStartDate) is not available in the respective page. 2) If the page reference is not set when calling this.Page.FindControl 3) If the TextBox is inside some other controls like DataGrid,DataList or Panel. Please do check and come around.:-O

    P. Mohan

    ASP.NET help question

  • solution to PostBack? [modified]
    I IamMohan

    Hi, The problem could be, the reference to the page were the textbox(txtStartDate)is available might not be referred. If the textbox has to be referred from the current page were you want the reference you can do so by. if (!Page.IsPostBack) { TextBox t = (TextBox)this.Page.FindControl("txtStartDate"); lblStartDate.Text = t.Text; } Hope this should work Regards:-O

    Mohan

    ASP.NET help 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