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
A

anderslundsgard

@anderslundsgard
About
Posts
405
Topics
237
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Let my support users log on as they where a regular customer user
    A anderslundsgard

    I'm looking for some kind of best practice fot imersonate users to one ASP.NET site that I build. The user handling of the site is entirely own built with a "User" table in the database and so on. The "Password"-column is crypted. Now I want to build a simple and SAFE solution for our support personal so they from our Support site can click on a button and a session is started in the customer portal. That so he support person more easily can log in as he was the customer user and se the same thing as the customer do. Any tip on how to solve this is welcomed. Now I think about creating a GUID and send that in querystring that is pased to the customer portal. The GUID can be used for a short period.

    _____________________________ ...and justice for all

    ASP.NET csharp asp-net database sales tutorial

  • Share the App_Themes folder between multiple sites
    A anderslundsgard

    Interesting! Do you have practical experience in how this is set up with projects in Visual Studio. Most developers should not have to bother about styles and images but need to be able to run the whole site locally.

    _____________________________ ...and justice for all

    C# csharp css asp-net question

  • Share the App_Themes folder between multiple sites
    A anderslundsgard

    We have an ASP.NET 3.5 site that uses themes and skins for handling css and images. Now we are about to create a new site that should have a common look and feel and I like to share the App_Themes between the sites so that they always will have the same look. Anyone that have any experience in this topic?

    _____________________________ ...and justice for all

    C# csharp css asp-net question

  • Split a Web Application into Multiple Projects
    A anderslundsgard

    Ok, then I'll give it a try!

    _____________________________ ...and justice for all

    C# csharp html asp-net question

  • Split a Web Application into Multiple Projects
    A anderslundsgard

    When I google the topic I got many suggestions like this one: http://blogger.nilanka.net/2010/08/split-web-application-into-multiple.html Is this the only way to do it? We have a big Web application project (ASP.NET 3.5) and we use VS2008. Does VS2010 have any support for splitting a web app into multiple projects or do we have to do this workaround?

    _____________________________ ...and justice for all

    C# csharp html asp-net question

  • Save a file from ASP.NET down to database and upp again.
    A anderslundsgard

    I fore sure have a common task but I need some help in best practice in my topic. How should read a file from an ASP.NET site and store it in a SQL Server. Should I read it in as a byte[] and use varbinary(max) as database column type?

    _____________________________ ...and justice for all

    C# database csharp asp-net sql-server sysadmin

  • SiteMapPath: Don’t show the root level in breadcrumb
    A anderslundsgard

    Thanks, This little css-hack also made it for me: .PageHeading > a:first-child + span + span { display: none; }

    _____________________________ ...and justice for all

    ASP.NET question

  • SiteMapPath: Don’t show the root level in breadcrumb
    A anderslundsgard

    How do I customise the behaviour of the asp:SiteMapPath to not show the root siteMapNode as a part of the breadcrumb.

    <siteMapNode title="Root"…>
    <siteMapNode title="Level_1_1"…>
    </siteMapNode>
    <siteMapNode title="Level_1_2"…>
    <siteMapNode title="Level_2_1"…>
    </siteMapNode>
    </siteMapNode>
    </siteMapNode>

    Shold in the breadcrumb look like: Level_1_2 > Level_2_1 and not: Root > Level_1_2 > Level_2_1

    _____________________________ ...and justice for all

    ASP.NET question

  • Is there a Silverlight control for embeding into a ASP.NET Web form
    A anderslundsgard

    This may be a trivial question but I'm completely new to Silverlight and right now I just want to know if I can embed a Silverlight control in my "classic" AST.NET (3.5) WebForm page? Googled for samples but no result.

    _____________________________ ...and justice for all

    WPF question csharp asp-net

  • Visual Studio Dataset Designer Shows Only Markup
    A anderslundsgard

    When I double click an *.xsd file in Visual Studio 2008 I only got the markup code. When I rightclick and choose “View Designer” I only got a blank page. I’ve tried to repair the installation and installed SP1. Any tip what can be done?

    _____________________________ ...and justice for all

    C# csharp html visual-studio question

  • Embed image to an e-mail and not a link…
    A anderslundsgard

    Is it possible to embed an image to a HTML-formatted e-mail? I don’t want to create a link (with <img src=”http://...”> ). I’m creating a newsletter mail application.

    _____________________________ ...and justice for all

    C# html question

  • System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances.
    A anderslundsgard

    Anyone ahve any suggestions on what can be wrong when getting this error. I've installed my ASP.NET app on two machines .NET 2.0 and on one of the cpus this error occures. Server Error in '/Distributor' Application. -------------------------------------------------------------------------------- System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401) at FleetManagement.Services.SystemAdministrationServices.UserManager.GetUserRoles(String userName, String password) at FleetManagement.Services.SystemAdministrationServices.SystemAdministrationServices.GetUserRoles(String userName, String password) at FleetManagement.Services.AuthenticationServices.Authenticate.GetUserRoles(String userName, String password) --- End of inner exception stack trace --- 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.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401) at Scania.FleetManagement.Services.SystemAdministrationServices.UserManager.GetUserRoles(String userName, String password) at Scania.FleetManagement.Services.SystemAdministrationServices.SystemAdministrationServices.GetUserRoles(String userName, String password) at Scania.FleetManagement.Services.AuthenticationServices.Authenticate.GetUserRoles(String userName, String password) --- End of inner exception stack trace --- 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: [SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401) at Scania.FleetManagement.Services.SystemAdministrationServices.UserManager.GetUserRoles(String userName, String password) at Scania.FleetManagem

    ASP.NET csharp asp-net sysadmin data-structures debugging

  • Programmatically get a PDF from a Reporting Service
    A anderslundsgard

    Ok, Any tip on how. I've searched for articles with code samples but have not found any.

    _____________________________ ...and justice for all

    C# question csharp

  • Programmatically get a PDF from a Reporting Service
    A anderslundsgard

    How can I access a reporting service from C#? I want to generate a PDF file that I can attach to an e-mail message.

    _____________________________ ...and justice for all

    C# question csharp

  • Creating email reports with attached PDFs
    A anderslundsgard

    I’ll soon enter a project where I’m going to create an “Mail Report Generator”. In our SQL Server database we have a lot of information connected to users to the system. Now I’m looking for different techniques to create these reports. The demands are that the email that is going to be sent should have an attached PDF-file which should contain tables, charts, and different types of diagram. I’ve been thinking of Microsoft Reporting Services as a solution for generating PDFs. Can that be a good way of doing it? All suggestions are welcomed!!

    _____________________________ ...and justice for all

    C# database sql-server sysadmin question

  • Help me with SQL query
    A anderslundsgard

    I need to populate a new colum with data from one other column in the same table: Table Has columns id, name, part: Id name part "122" "E3, SS, ABC" "NULL" "123" "E3, BB, JKL" "NULL" … … … I want to have a script that fills the part column with the string to the right of ‘,’ from the name column. The result should look like this: Id name part "122" "E3, SS, ABC" "ABC" 123" "E3, BB, JKL" "JKL" … … …

    _____________________________ ...and justice for all

    Database database tools help

  • Start up order of windows services
    A anderslundsgard

    How can I set the start up order of windows services (Win 2003 R2)? I have one service that depends on another one to be started

    _____________________________ ...and justice for all

    System Admin question

  • Can’t step into method (debug) with F11 in Visual Studio
    A anderslundsgard

    Yes just one class and one method. No attributes are on the method or it's class.

    _____________________________ ...and justice for all

    C# csharp visual-studio debugging question

  • Can’t step into method (debug) with F11 in Visual Studio
    A anderslundsgard

    I have a project that have a class that I can’t step into a method call with F11 during debugging. Any tip what could be wrong?

    _____________________________ ...and justice for all

    C# csharp visual-studio debugging question

  • See the execution path of my program
    A anderslundsgard

    I’m a new developer in a very complex project. I like to create a program that can plot the methods that is executing in the program to get a fast view of what is calling what. Of course I can debug the program but the best way right now is to write some code like this:

    StackTrace s = new StackTrace();

    CallAMettodThatDoesALotOfOtherCalls();

    s.PrintAllCalledMethodsInAnEasyToReadWay();

    Any tip on code/tool that manages that?

    _____________________________ ...and justice for all

    C# question debugging learning
  • Login

  • Don't have an account? Register

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