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

Bruno M T Sousa

@Bruno M T Sousa
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Sql express and ASP.net configuration tools
    B Bruno M T Sousa

    Hi SQL Express is configured by default to allow only local connections using windows authentication. From what that looks is that the IIS is running under an user that the SQL Server does not accept. While I'm no IIS/SQL Server expert, and thus can not really help you to configure them to work like that, what I suggest is that you setup SQL Server to allow both Windows Authentication and SQL Server. Using the SQL Server Management Studio (http://www.microsoft.com/downloads/details.aspx?familyid=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&displaylang=en) log in to the server and under the server's "Properties" choose Security and select "SQL Server and Windows Authentication". Then create a user and password with access to your database (in your database "Security" -> "Logins" -> Right click -> "New Login...") and adjust your connection string to use this login, for example: "server=Earthquake\\SqlExpress; user id=UserName; password=Password; database=Database" This should allow you to use both SQL Express for the final site.

    Bruno Sousa Software Consultant http://www.luasys.com

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

  • Generics classes and object creation
    B Bruno M T Sousa

    Maybe I'm getting this wrong, but from what I understood, all the Add* methods are a bit reduntant if you don't do any special initialization inside them. For example in *1: // Create a new info int nInfoIndex = MyMessage.AddNewInformation(); (*1) // Set the info specific data such as name, age, etc. for the info we just addded MyMessage.Infos[nInfoIndex].Fields.InfoName.LastName = "John"; Could just be done like: Info information = new Info (firstName, lastName, ...); MyMessage.Infos.Add (Info); While this doesn't retrieve the index so you can change afterwards, you can setup the class beforehand and then add it. This can be used for all the other questions as far I understand. If this wasn't what you were asking, then my apoligies.

    Bruno Sousa Software Consultant http://www.luasys.com

    C# json help
  • Login

  • Don't have an account? Register

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