分享

写回答

发帖

[提问] 你们用GODADDY的空间 一般用什么访问者记录器啊。

回答|共 26 个

tubang

发表于 2010-8-31 23:42:38 | 显示全部楼层

回复 20# 的帖子

帮主啊,, 给我看了没有啊,,,急啊。,邮件发到美国去啦, 她们不帅我
啊, 叫我自己检查浏览器。。
我该怎么办啊,,:'( :'(

tubang

发表于 2010-9-1 10:27:03 | 显示全部楼层

帮主啊,, 给我看了没有啊。。。 邮件有新的回复
Dear Jecky,

Thank you for your reply.  The error that you are receiving is a generic error for your hosting account.


By default, our Windows hosting servers display a generic error when any .NET application generates an exception. We display a generic error because the detailed error messages allow a malicious user to obtain sensitive information.



To troubleshoot the error, you can modify your web.config file and specify that a custom error message displays. A custom error message helps you to locate the specific code that is causing the issue.



CAUTION: The code samples we provide below do not constitute a complete web.config file. Do not replace your existing web.config file with the code we provide. Before changing your web.config file, we recommend creating a backup.





Displaying Custom Error Messages / Enabling Detailed Errors on IIS 7




Use the sample code below to display custom error messages on IIS 7:



<configuration>
    <system.webServer>
        <httpErrors errorMode="Detailed" />
        <asp scriptErrorSentToBrowser="true"/>
    </system.webServer>
    <system.web>
        <customErrors mode="Off"/>
        <compilation debug="true"/>
    </system.web>
</configuration>







If you are unable to use a custom form mailer, you may consider using a default form mailer for your hosting account.


Two form mailers are included with new Windows shared hosting accounts: webformmailer.asp and gdform.php. To use a form mailer, create a Web form in HTML that links to one of our scripts and upload it to your hosting account.



NOTE: Do not use test@test.com to test your form mailer.



WARNING: The gdform.asp and gdform.php files cannot be recovered if they are deleted.



The form mailers are not installed until you specify the email address you want to use with the form mailer in your account manager. For more information, see Specifying an Email Address for the ASP Form-Mailer.






webformmailer.asp





To Use webformmailer.asp




Create a Web form, assigning unique names to your form fields.


In the form tag, assign _gdForm/webformmailer.asp to the action attribute and set the form method to post:


<form action="_gdForm/webformmailer.asp" method="post">




In addition to the form fields you create, there are three hidden elements you can use.

form_format determines in what format the information is delivered. Its values are 'text', 'csv', 'html', 'xml', and 'default' (same as 'text').



form_order dictates in what order the fields are reported. Its values are 'default' (the same order as they appear on in the form), 'alpha' (alphabetized by field name) or a comma-separated, case-sensitive list of all or some field names.



form_interval determines the frequency and packaging of delivery. To receive one email per form submission, the form_interval values are 'default' (every 10 minutes), 'hourly', and 'daily'. To specify when the attached submissions are received, the form_interval values are 'digest', 'hourly_digest', and 'daily_digest'.



For example:



<form action="_gdForm/webformmailer.asp" method="OST">
<input type="hidden" name="subject" value="Submission" />
<input type="hidden" name="redirect" value="thankyou.html" />
First Name: <input type="text" name="FirstName" />
Last Name :<input type="text" name="LastName" />
Email: <input type="text" name="email" />
Comments: <textarea name="comments" cols="40" rows="10">
Type comments here.</textarea>
<input type="submit" name="submit" value="submit"/>
<input type="hidden" name="form_order" value="alpha"/>
<input type="hidden" name="form_interval" value="hourly"/>
<input type="hidden" name="form_format" value="html"/>
</form>






NOTE: The webformmailer.asp file is accessed through a virtual directory. You cannot modify the file, and it does not display in the file manager.











gdform.php





Only Windows accounts running IIS7 can use gdform.php.



To Use gdform.php




Create your Web form as normal and assign unique names to your form items.

NOTE: Keep in mind that our form-mailer script will sort the names of your form items alphabetically when it composes the email message. This is the order of precedence: uppercase letters, lowercase letters, numbers.





For the form action line, enter /gdform.php. For example:

<form action="/gdform.php" method="post">




Set the form method to "post."


In addition to the fields you create in your form, there are three special fields that you can use: subject, redirect, and email.

Subject. Controls the subject line in the form email.



Redirect. Controls the page that your visitors will see after they submit the form.



Email. Controls the return address for the form email.



For example:



<form action="/gdform.php" method="post">
<input type="hidden" name="subject" value="Form Submission" />
<input type="hidden" name="redirect" value="thankyou.html" />
<p>First Name:<input type="text" name="FirstName" /></p>
<p>Last Name:<input type="text" name="LastName" /></p>
<p>E-Mail:<input type="text" name="email" /></p>
<p>Comments:<textarea name="comments" cols="40" rows="10">
Type comments here.</textarea></p>
<input type="submit" name="submit" value="submit"/>
</form>




Save and upload your file to your hosting account.












gdform.asp





To Use gdform.asp


WARNING: As of October 29th, 2008, gdform.asp is no longer offered on Windows shared hosting accounts. If your account does not have gdform.asp, these instructions will not work.





Create your Web form as normal and assign unique names to your form items.

NOTE: Keep in mind that our form-mailer script will sort the names of your form items alphabetically when it composes the email message. This is the order of precedence: uppercase letters, lowercase letters, numbers.





For the form action line, enter gdform.asp. For example:

<form action="gdform.asp" method="post">




Set the form method to "post."


In addition to the fields you create in your form, there are three special fields that you can use: subject, redirect, and email.

Subject. Controls the subject line in the form email.



Redirect. Controls the page that your visitors will see after they submit the form. If the page exists off your hosting root, the subdirectory must be specified.



Email. Controls the return address for the form email.



For example:



<form action="gdform.asp" method="post">
<input type="hidden" name="subject" value="Form Submission" />
'This example assumes thankyou.html resides in the hosting
'account root directory.
'The appropriate path must be supplied if the file
'exists in a subdirectory.

<input type="hidden" name="redirect" value="thankyou.html" />
<p>First Name:<input type="text" name="FirstName" /></p>
<p>Last Name:<input type="text" name="LastName" /></p>
<p>E-Mail:<input type="text" name="email" /></p>
<p>Comments:<textarea name="comments" cols="40" rows="10">
Type comments here.</textarea></p>
<input type="submit" name="submit" value="submit"/>
</form>




Save and upload your file to your hosting account.




NOTE: Your file and gdform.asp need to be placed in the same directory of your hosting account in order for the form to properly function. If the directory in which they reside is off your hosting account root, you must provide the complete confirmation page path in your code.








For information on reinstalling your default scripts, see Reinstalling the Default Scripts Directory on Windows Shared Hosting.



To assist us in pinpointing the source of this issue we ask that you provide us with the results of a "trace route" from a location that is not able to connect to your site. A trace route shows that path that a connection takes from your computer to a website, or another computer.

If you are using the Windows operating system, follow these steps to get the trace route results:

• From your Start Menu, go to "rograms", then to "Accessories".
• Here you will find either "MS-DOS Prompt" or "Command Prompt".
• Click on that program and a window should appear with some information regarding your version of windows and a prompt. The prompt should be similar to the following:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\WINDOWS>


NOTE: The command prompt window may show different text than the above. However, that will not affect this process.

At the prompt, enter the following:

tracert evnglab.com

After typing this press ENTER, you will get back a long list of information, and it will return to the original prompt you started with. To copy the results, right click on the menu bar of this window, go to "Edit" and select "Mark". Starting at the upper left-hand corner of the command prompt window, highlight the full contents of the trace results. Once you have it all highlighted, press the ENTER key on your keyboard. This will put the highlighted information into your Windows clipboard, allowing you to paste that into a text file to attach to your response.


If you are using Macintosh OSX, you can use an application called Terminal to run a trace route. You should be able to locate Terminal in your hard drive in the Utilities folder, under Applications.


NOTE: Terminal uses a command-line inte**ce. This means you'll be entering commands at a prompt rather than using the more familiar Aqua graphic inte**ce.

Once you have launched Terminal, enter the following to run the trace route:

traceroute evnglab.com

Once this has completed, highlight the contents of the Terminal window. Click on the "Edit" menu and select "Copy". You can then paste this information into a text file, which you would then attach to your response.

We understand that this is quite a few steps; however this will allow us to further research the problem you are experiencing. We appreciate your assistance in tracking down the source of this problem.

Please let us know if we can help you in any other way.

Sincerely,

Christian P.
Online Support Team :L

add.c

发表于 2010-9-1 10:30:30 | 显示全部楼层

让你把下面代码
  1. <configuration>
  2.     <system.webServer>
  3.         <httpErrors errorMode="Detailed" />
  4.         <asp scriptErrorSentToBrowser="true"/>
  5.     </system.webServer>
  6.     <system.web>
  7.         <customErrors mode="Off"/>
  8.         <compilation debug="true"/>
  9.     </system.web>
  10. </configuration>
复制代码
保存为web.config文件传到网站目录以显示详细错误信息

tubang

发表于 2010-9-1 10:42:28 | 显示全部楼层

回复 23# 的帖子

老大啊, 帮我做网站的那个告诉 这是net 的。 他给写的asp   的能用吗 ?

livesway

发表于 2010-9-1 11:23:13 | 显示全部楼层

回复 4# 的帖子

百度统计现在功能越来越实用,感觉还不错!

add.c

发表于 2010-9-1 11:28:23 | 显示全部楼层

回复 24# 的帖子

tubang

发表于 2010-9-1 12:58:43 | 显示全部楼层

回复 26# 的帖子

我都要崩溃啦, 写网站的那人试了,说不可以用。。。 :'(

在继续问一个问题,,, 1.我们在买域名的时候,我记得有个地方写着,是否让你的域名被Google收录。  我点了是 的, 可是现在 Google没有收录我的网站, 。 我通过Google做我域名(不带www)的搜索, 是搜不到我网站的, 反而是搜索到这个论坛啦,
您需要登录后才可以回帖 登录 | 注册

本版积分规则