Cool. That work perfectly mate.
Just another question. Is there a way I can create the desktop for the New User template with the icons I want availabe and it mirrors on all new users?
Does anyone know how to restore the default user templates. Whenever I create a new user, it creates the user's home folder but anyone can get access to it and its a pain having to go in all the time and change permissions.
Hi,
I have downloaded an aspx file and try to open the file in VS2008 or dreamweaver and get the following error message
"This is a marker file generated by the precompilation tool, and should not be deleted!"
Anyone know how I can read the contents of this file and edit it
Thanks
Hi
Could someone please check this code. It works fine other than its adding the new registration twice and also if a user doesnt supply a file to upload it comes up with an error along the lines that i was looking for the insert fields in the code
Thanks in advance
<script runat="server">...
Here is my store procedure. But how would I use that scope_identity to insert a record in another table
Create Procedure InsertNewRegistration
)
@Title nvarchar(50)
@Forename nvarchar(255)
@Surname nvarchar(255)
@Company nvarchar(50)
@AddressLine1 nvarchar(255)
@AddressLine2 nvarchar(255)...
...protection="All"
timeout="30"
path="/"
/>
</authentication>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</configuration>
I also have another web.config file in the subfolder called secure.
<configuration>
<system.web>...
Ok. I can now upload files to the document table perfectly fine, but how would i get the client id from the clients table to link it to the document uploaded at time of registration.
my code adds the new user to the database and gives them a unique number. then i run the code to add the file to...
Anyone know a link to code which will allow me to work with to upload files (word docs, pdfs) to an sql server.
I want to also rename the file to include the client reference number which is an incremental id field in the database.
I want it to add the new registration to the database, then...
Thanks for your help guys.
I am creating the password perfectly with the punctuation characters. They are fine for now.
I may try the other function and see how it works
I have a registration page that creates a new user account. I was wondering I would I create a random alpanumeric password (in the password field) for each new registration in an sql server database. would it be best to use a stored procedure or do it through .net code.
if the first option is...
The code is exactly the same. different subject and body and different email address
I have tried sending it to my own email address and my personal addrress and only receive 1 email
I am having troubles sending a confirmation email after client has registered.
My code is below:
Sub doEmailClient
Dim objEmail as New MailMessage
objMail.To = email.Text
objMail.From = xxxxx
objMail.Subject = xxxxx
objMail.Body = xxxx
objMail.BodyFormat = Mailformat.Html...
I have the following code attached to a submit button on a form. The record inserts into the database fine, but when I want to send an email confirmation it comes back with the error:
"The server rejected one or more recipient addresses. The server response was: 550 mail from 81.155.200.74...
Hi mate
Not sure if you got it sorted out yet, but I had this same problem. Easiest way to fix it is to add the following to your web.config file
<configuration>
<system.web>
<globalization
fileEncoding="utf-8"
requestEncoding="utf-8"
culture="en-GB"
uiCulture="en-GB"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.