Reg script

05/23/2018 18:13 Engelchen89#1
Hallo suche jemand der mit helfen kann wenn ich mir mit mein reg script ein account erstellen möchte bekomme ich diese fehlermeldung

Serverfehler in der Anwendung /.
Laufzeitfehler
Beschreibung: Anwendungsfehler auf dem Server. Aufgrund der aktuellen benutzerdefinierten Fehlereinstellungen für diese Anwendung können die Details des Anwendungsfehlers (aus Sicherheitsgründen) nicht remote angezeigt werden. Sie können jedoch von Browsern angezeigt werden, die auf dem lokalen Server ausgeführt werden.

Details: Sie können die Details dieser Fehlermeldung auf dem lokalen Computer anzeigen, indem Sie ein <customErrors>-Tag in der Konfigurationsdatei web.config erstellen, die sich im Stammverzeichnis der aktuellen Webanwendung befindet. Das mode-Attribut dieses <customErrors>-Tags sollte dann auf "Off" festgelegt werden.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Hinweise: Die aktuelle Seite kann durch eine benutzerdefinierte Fehlerseite ersetzt werden, indem Sie das defaultRedirect-Attribut des <customErrors>-Konfigurationstags dieser Anwendung so setzen, das es auf einen benutzerdefinierten Fehlerseiten-URL zeigt.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>



und leider habe ich keine ahnung woran das liegen könnte vielleicht kann mit hier ja jemand weiter helfen danke im vorraus
05/23/2018 18:43 Dark Blaze#2
Show the actual code.
05/23/2018 18:49 Engelchen89#3
what code do you mean
Unfortunately I do not find the web config
05/23/2018 19:30 thefear511#4
PHP Code:
<?xml version="1.0" encoding="UTF-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <system.web>
    <compilation debug="true" />
  </system.web>
    <connectionStrings>
        <add connectionString="Server=localhost;Database=auth;User ID=sa;Password=123" name="fear511-PC" />
    </connectionStrings>
</configuration>
try this.
05/23/2018 19:47 Engelchen89#5
mom that's already in it with me
05/23/2018 20:05 Dark Blaze#6
Post your web.config file.
05/23/2018 20:17 Engelchen89#7
<?xml version="1.0" encoding="UTF-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
[Only registered and activated users can see links. Click Here To Register...]
-->
<configuration>
<system.web>
<compilation debug="true" />
</system.web>
<connectionStrings>
<add connectionString="Server=localhost;Database=auth;U ser ID=sa;123" name="test" />
</connectionStrings>
</configuration>
05/23/2018 23:22 Dark Blaze#8
Quote:
Originally Posted by Engelchen89 View Post
<?xml version="1.0" encoding="UTF-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
[Only registered and activated users can see links. Click Here To Register...]
-->
<configuration>
<system.web>
<compilation debug="true" />
</system.web>
<connectionStrings>
<add connectionString="Server=localhost;Database=auth;U ser ID=sa;123" name="test" />
</connectionStrings>
</configuration>
Your connection string is incorrect.
Use this
Code:
<add name="AUTH" connectionString="Data Source=localhost;Initial Catalog=Auth;User=USERNAME;Password=PASS;" providerName="System.Data.SqlClient"/>
05/24/2018 01:23 Engelchen89#9
Now comes another problem


[Only registered and activated users can see links. Click Here To Register...]
05/24/2018 01:29 thefear511#10
Quote:
Originally Posted by Engelchen89 View Post
Now comes another problem


[Only registered and activated users can see links. Click Here To Register...]
sql services on?
05/24/2018 01:35 Dark Blaze#11
Quote:
Originally Posted by Engelchen89 View Post
Now comes another problem


[Only registered and activated users can see links. Click Here To Register...]
If you look at the connection string line, you have it starting with "<<" instead of "<", fix that and it should work fine.
05/24/2018 12:56 Engelchen89#12
Quote:
Originally Posted by Dark Blaze View Post
If you look at the connection string line, you have it starting with "<<" instead of "<", fix that and it should work fine.

nice THX that worked but now what can I do there

[Only registered and activated users can see links. Click Here To Register...]
05/24/2018 15:16 Dark Blaze#13
It says that login failed for user "sa" so you should check your connection string.
Where did you get this registration script from?