View Full Version : مشکل با آپلود
peymannaji
چهارشنبه 08 فروردین 1386, 15:33 عصر
سلام دوستان ...
من یک سایت درست کردم البته فقط یک صفحه بعنوان تست که فرم ارسال ایمیل هست ...
حالا در شاخه www وقتی فولدر contact رو که شامل فایلها هست رو آپلود میکنم صفحه موقع لود شدن ارور میده ... اما وقتی محتویات فولدر contact رو در در www آپلود میکنم بدون هیچ مشکلی صفحه بالا میاد ... مشکل چی هست ؟
amir.NET2
چهارشنبه 08 فروردین 1386, 15:41 عصر
Error چی هست ؟؟؟؟؟
peymannaji
پنج شنبه 09 فروردین 1386, 02:37 صبح
لینکش رو گذاشتم ببینید ...
http://i7.tinypic.com/4cawdwj.jpg
amir.NET2
پنج شنبه 09 فروردین 1386, 08:45 صبح
با سلام
این خط کد رو در فایل web.config قبل از تگ
</system.web> بذار بعد دوباره لینک error رو بده ببینیم
کدی که باید اضافه کنید
<customErrors mode="Off"/>
peymannaji
پنج شنبه 09 فروردین 1386, 22:42 عصر
سلام دوست عزیز ... کاری که گفتین رو انجام دادم باز هم همون صفحه ...
لینک رو براتون میزارم ببینید ...
http://www.karsazan.com/sendmail/contact.aspx
اما نگاه کنید تمام محتویات رو وقتی توی www میریزم مشکلی نداره :
http://karsazan.com/contact.aspx
iman_22a
جمعه 10 فروردین 1386, 11:29 صبح
با سلام
این خط کد رو در فایل web.config قبل از تگ
</system.web> بذار بعد دوباره لینک error رو بده ببینیم
کدی که باید اضافه کنید
<customErrorsmode="Off"/>
کاری که دوستمون گفتند رو شما هنوز انجام نداده اید ، انجام بدید و ارور حاصل رو اینجا بنویسید تا دوستان راهنماییتون کنند .
peymannaji
جمعه 10 فروردین 1386, 16:21 عصر
من محتوای وب کانفیگ رو گذاشتم ببینید درسته ؟
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to insert debugging symbols (.pdb information)
into the compiled page. Because this creates a larger file that executes
more slowly, you should set this value to true only when debugging and to
false at all other times. For more information, refer to the documentation about
debugging ASP.NET files.
-->
<compilation defaultLanguage="vb" debug="true" />
<!-- CUSTOM ERROR MESSAGES
Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable.
Add <error> tags for each of the errors you want to handle.
"On" Always display custom (friendly) messages.
"Off" Always display detailed ASP.NET error information.
"RemoteOnly" Display custom (friendly) messages only to users not running
on the local Web server. This setting is recommended for security purposes, so
that you do not display application detail information to remote clients.
-->
<customErrors mode="Off" />
<!-- AUTHENTICATION
This section sets the authentication policies of the application. Possible modes are "Windows",
"Forms", "Passport" and "None"
"None" No authentication is performed.
"Windows" IIS performs authentication (Basic, Digest, or Integrated Windows) according to
its settings for the application. Anonymous access must be disabled in IIS.
"Forms" You provide a custom form (Web page) for users to enter their credentials, and then
you authenticate them in your application. A user credential token is stored in a cookie.
"Passport" Authentication is performed via a centralized authentication service provided
by Microsoft that offers a single logon and core profile services for member sites.
-->
<authentication mode="Windows" />
<!-- AUTHORIZATION
This section sets the authorization policies of the application. You can allow or deny access
to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
(unauthenticated) users.
-->
<authorization>
<allow users="*" /> <!-- Allow all users -->
<!-- <allow users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
<deny users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
-->
</authorization>
<!-- APPLICATION-LEVEL TRACE LOGGING
Application-level tracing enables trace log output for every page within an application.
Set trace enabled="true" to enable application trace logging. If pageOutput="true", the
trace information will be displayed at the bottom of each page. Otherwise, you can view the
application trace log by browsing the "trace.axd" page from your web application
root.
-->
<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
<!-- SESSION STATE SETTINGS
By default ASP.NET uses cookies to identify which requests belong to a particular session.
If cookies are not available, a session can be tracked by adding a session identifier to the URL.
To disable cookies, set sessionState cookieless="true".
-->
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>
<!-- GLOBALIZATION
This section sets the globalization settings of the application.
-->
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
</system.web>
</configuration>
iman_22a
جمعه 10 فروردین 1386, 17:37 عصر
فولدر Sendmail تون چه وضعیتی داره ؟ Virtual directory هست ( فایل web.config رو داره ؟) یا یک فولدر معمولی است ؟
peymannaji
سه شنبه 14 فروردین 1386, 09:41 صبح
فولدر Sendmail تون چه وضعیتی داره ؟ Virtual directory هست ( فایل web.config رو داره ؟) یا یک فولدر معمولی است ؟
سلام .
من از ویژوال استادیو 2003 استفاده میکنم و یک پروژه جدید به نام Sendmil در Inetpub البته در شاخه wwwroot ساخته شد که محتویات در اون قرار داره و بنابراین Virtual directory نیست . در مورد فایل web.config باید بگم بله داره ...
peymannaji
چهارشنبه 15 فروردین 1386, 21:09 عصر
مشکل ما حل شدنی نیست یا هست ؟
eshaghi
پنج شنبه 16 فروردین 1386, 14:51 عصر
با عرض سلام
اگر در روی هاست بانک اس .کیو.ال سرور ساخته ای وuid,pass برای آن تعین کردهای باید از رشته اتصال زیر استفاده کنی ودر ضمن در روی بانک که در هاست می باشد ساختار آن را بسازی مثل ایجاد کلید
server=localhost; database=shoot;UID=usernsme;PWD=password
peymannaji
جمعه 17 فروردین 1386, 21:50 عصر
مسئله اینجاست که اصلا" با بانک اطلاعاتی سرو کار نداریم ...
و همانطور که قبلا" گفته بودم :
من یک سایت درست کردم البته فقط یک صفحه بعنوان تست که فرم ارسال ایمیل هست ...
حالا در شاخه www وقتی فولدر contact رو که شامل فایلها هست رو آپلود میکنم صفحه موقع لود شدن ارور میده ... اما وقتی محتویات فولدر contact رو در در www آپلود میکنم بدون هیچ مشکلی صفحه بالا میاد ... مشکل چی هست ؟
raravaice
دوشنبه 03 اردیبهشت 1386, 10:38 صبح
پیمان جان پوشه contact باید virtul directory باشه برای انجام این کار از طریق پنل مدیریت هاستت اقدام به ساخت این دایرکتوری کن
موفق باشی
vBulletin® v4.2.5, Copyright ©2000-1404, Jelsoft Enterprises Ltd.