Jump to content

Search the Community

Showing results for tags '.net'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Calendars

  • Community Calendar

Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 9 results

  1. I am going to create a application in this application i want to use authorization server and resource server and client application in different application for hosting in different location. How i can design my application. Firstly, Can i host authorization server and resource server and client application in different location.
  2. I am trying to consume service using proxy class. i am getting below exception. "The underlying connection was closed: An unexpected error occurred on a receive." ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; //proxy class initialization ISessionManager objISessionManager = new SessionManagerClient("https://abcxyz.com/sessionmanager.svc"); LogonRequest objLogonRequest = new LogonRequest(); objLogonRequest.logonRequestData = new LogonRequestData(); objLogonRequest.ContractVersion = APICredential.ContractVersion; objLogonRequest.logonRequestData.DomainCode = APICredential.AgentDomain; objLogonRequest.logonRequestData.AgentName = APICredential.AgentID; objLogonRequest.logonRequestData.Password = APICredential.Password; LogonResponse objLogonResponse = objISessionManager.Logon(objLogonRequest); can you suggest how we can fix it.
  3. Problem in Export to excel from asp.net

    I found some problem with below code when i am trying to export to excel using below code on IE and Mozilla Firefox. But sometime it works fine but sometime it works fine. So can you suggest me how i can resolve the problem? public static void ToExcel(GridView _grid, string FileName) { try { _grid.AllowPaging = false; PrepareGridViewForExport(_grid); string attachment = "attachment; filename=" + FileName + ""; HttpContext.Current.Response.Clear(); HttpContext.Current.Response.Buffer = true; HttpContext.Current.Response.BufferOutput = true; HttpContext.Current.Response.ClearContent(); HttpContext.Current.Response.AddHeader("content-disposition", attachment); //HttpContext.Current.Response.ContentType = "application/ms-excel";//Excel 2003 //application/vnd.ms-excel HttpContext.Current.Response.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";//Excel 2007 StringWriter sw = new StringWriter(); HtmlTextWriter htw = new HtmlTextWriter(sw); // Create a form to contain the grid htw.WriteLine(Heading); if (!string.IsNullOrEmpty(Company)) { if (!Company.Contains("Select")) htw.WriteLine("<br/><b>Company : </b>" + Company); } if (!string.IsNullOrEmpty(Department)) { if (!Department.Contains("Select")) htw.WriteLine("<br/><b>Department : </b>" + Department); } if (!string.IsNullOrEmpty(Region)) { if (!Region.Contains("Select")) htw.WriteLine("<br/><b>Region : </b>" + Region); } htw.WriteLine("<br/><b>" + Heading + "</b> From <b>" + FromDate + "</b> To <b>" + ToDate + "</b> "); htw.WriteLine("<br/><br/>"); HtmlForm frm = new HtmlForm(); _grid.Parent.Controls.Add(frm); frm.Attributes["runat"] = "server"; frm.Controls.Add(_grid); frm.RenderControl(htw); HttpContext.Current.Response.Write("<meta http-equiv=Content-Type content=text/html; charset=utf-8>" + Environment.NewLine); HttpContext.Current.Response.Write("HRMS Reports Sheet" + Environment.NewLine); HttpContext.Current.Response.Write(AddExcelStyling()); HttpContext.Current.Response.Write(sw.ToString()); HttpContext.Current.Response.Write("</body>"); HttpContext.Current.Response.Write("</html>"); HttpContext.Current.Response.Flush(); HttpContext.Current.Response.End(); } catch (Exception ex) { string str = ex.Message; } }
  4. System.FormatException with ScriptManager

    String was not recognized as a valid DateTime. 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.FormatException: String was not recognized as a valid DateTime.Source Error: Line 68: <body onload="changeHashOnLoad();"> Line 69: <form id="form1" runat="server" class="w-wppr">Line 70: <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true"> Line 71: <Scripts> Line 72:
  5. ASCX Cannot Use External CSS File?

    (Newbie here, sorry.) I cannot get an ASCX control to use rules from an external CSS file in a VB.NET app that I inherited (which only uses inline formatting at the moment). It finds and recognizes the file, and the format has been validated. CSS rule: .ais{ font-family: Arial; font-size: 20pt;} ASPX <head>: <link rel="Stylesheet" type="text/css" href="/App_Code/AMCG_Styles.css" />ASCX: <table id="tblAISContent" class="ais" border="0" cellpadding="0" cellspacing="0" style="width: 900px; height: 425px;" > However, none of the text in the table uses either the font name or size, and no errors are thrown. There are no other CSS files or <style> tags in the app. Any help is greatly appreciated! Jeff
  6. can i build website using WPF.

    I have read somewhere that one cannot build website using WPF technology. so please clear my concept whether i can build website using WPF or not also i have read that we can build browser application using WPF but not website. so, what is the difference between browser application and website exactly
  7. Insert Error: Login failed for user

    I created an asp.net webform that submits to an sql database on an sql server. The web server is Windows server 2012. The page successfully submits when I run the page using Visual Studio 2012, but when I run it on the web server (not using Visual Studios) I get the error message below when I click submit. It says login failed for user domainservername$, but the username in the connection string is user we created for the sql database. It uses Windows Authentication. I setup the web server for asp.net. I haven't done it before, so I assume the issue is there or in the connection string, though I'm not sure. The connection string is below. I'm new to asp.net, c#, and sql, so I'm learning as I go in this project. Let me know if you need anymore information. Thanks for any suggestions. <connectionStrings> <add name="MyConsString" connectionString="Server=sqlserver; Database=database; User Id=username; password=password; Trusted_Connection=Yes;" providerName="System.Data.SqlClient" /> </connectionStrings> Server Error in '/' Application. -------------------------------------------------------------------------------- Insert Error:Login failed for user 'domainservername$'. 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.Exception: Insert Error:Login failed for user 'domainservername$'. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [Exception: Insert Error:Login failed for user 'domainservername$'.] Survey.WebForm1.ExecuteInsert(EventArgs e) in servernamec$inetpubSurvey2Surveydefault.aspx.cs:489 Survey.WebForm1.Button1_Click(Object sender, EventArgs e) in servernamec$inetpubSurvey2Surveydefault.aspx.cs:39 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +155 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804
  8. Please provide the tutorial on ASP.NET with C# based on Visual studio, not on WebMatrix
  9. Imagine Cup 2012: Coding For .net

    Found a cool student competition for .NET coding... I think I'm gonna sign up. Probably awesome for my resume. Any one else?? Just Announced: Microsoft Imagine Cup US 2012 sign ups now open. Whether you have a winning idea to take you to the top and change the world, want to be the next Bill Gates, or just want to be a part of our community for free prizes and opportunities, come sign up for the biggest student technology competition around! http://bit.ly/frmicus12
×