| 1. |
Теперь я еще и выйти не могу.
Отправлено Admin on 5/5/2003 11:50:33 PM
Вошел автоматом как Admin. Выйти не могу!
|
| 2. |
Re: Не работает почтовый сервер!
Отправлено Admin on 5/5/2003 11:48:13 PM
По словам Руслана, проблема все еще существует. Однако из ASP почта все-таки уходит. Для тестирования см. https://tutornet.ru/shared/test/cdo/ .
Надо бы написать подобный тест на ASP.NET. Кто займется?
|
| 3. |
Не работает почтовый сервер!
Отправлено Admin on 4/4/2003 12:12:22 AM
Игорь Александрович!
Наш почтовый сервер не работает.
Руслан
|
| 4. |
Re: Не работает почтовый сервер!
Отправлено Admin on 4/19/2003 1:45:17 AM
Проблема была, но теперь решена. Почта не уходила с сервера. Прописали сервер у администраторов НГУ и прописали smarthost в настройках SMTP.
|
| 5. |
Открылся форум!
Отправлено Admin on 3/26/2003 8:32:21 AM
Наконец-то заработал движок форума на удаленном сервере! На это ушло порядка трех дней. Первый опыт он всегда сопряжен с какими-то проблемами.
|
| 6. |
Admin Tab Problem
Отправлено Admin on 3/18/2003 7:15:38 PM
Hi @ ALL
I have today downloades the File ASPNETPortal_1[1].0.3.zip from www.ibuyspyworkshop
and Installed it on a fresh database and into a fresh Folder.
After Installation I logged on as SUPER and want to navigate to the ADMIN Tab.
I got the following Error
can anyone Help me out ??
Thanks in advance
Alexander
[email protected]
------------ ...
|
| 7. |
Re: Admin Tab Problem
Отправлено Admin on 3/18/2003 7:16:08 PM
The problem is likely to do with the SiteLog.ascx and how it deals with date localization. The control passes Date.Today & " 23:59" to the GetSiteLog stored procedure. I am guessing that the value for Date.Today is creating a date format which SQL Server cannot interpret. This is likely due to your regional settings.
|
| 8. |
Re: Admin Tab Problem
Отправлено Admin on 3/18/2003 7:16:43 PM
Hi !
I didn't change anytging on my machine. I got it working!
Can you please tell me what settings are tested or what I have to configure
so that it works.
My time Zone is set to W. Europe Standard Time.
The only change I did are a join to a AD-Domain nothing else.
Coulöd this be the Problem??
My machine is a Windows XP Pro with SP1 and the Framework 1.1
With the Indsallation of ...
|
| 9. |
Re: Admin Tab Problem
Отправлено Admin on 3/18/2003 7:17:13 PM
Hi Alexander et al
I believe that the problem you have is due to the SQL Server stting being set to the default language of ENGLISH. This should probably be AMERICAN.... lol.
Before you change the setting first shut down the portal.
Next Open SQL Server Enterprise Manager.
Expand a server group.
Right-click a server, and then click Properties.
Click the Server Settings tab.
|
| 10. |
Re: Admin Tab Problem
Отправлено Admin on 3/18/2003 7:17:47 PM
Hi again,
after testing with different configurations and checking with SQL Profiler and Query Analyzer I have an running system. My Solution:
- W2K with SP3, english version, regional settings: german (default input locale: german)
- SQL Server 2000, SP3, english version, language setting for the ASPNETPortal user: german
(ASPNETPortal user is the user you configured in the web.config file)
Some additional informations: ...
|
| 11. |
Convert data type error
Отправлено Admin on 3/18/2003 7:12:56 PM
This is a known problem with International Date handling on IBSW ( covered in previous posts ). The code is sending a string to the database where the sproc parameter is expecting a datetime. Based on the SQL Server locale versus the ASP.NET regional settings, the string which is being sent cannot be converted to a valid date by SQL Server. I am looking for a viable solution to this problem. In the short term:
SiteLog.ascx.vb
Sub BindData()
|
| 12. |
Re: Convert data type error
Отправлено Admin on 3/18/2003 7:13:54 PM
Here is the stored procedure Getsitelog Kenny.
ALTER procedure GetSiteLog
@PortalId int,
@PortalAlias nvarchar(50),
@ReportType int = null,
@StartDate datetime = null,
@EndDate datetime = null
as
if @ReportType is null
select @ReportType = 1
if @StartDate is null
select @StartDate = min(DateTime) from SiteLog where PortalId = @PortalId
|
| 13. |
Re: Convert data type error
Отправлено Admin on 3/18/2003 7:14:33 PM
Public Function GetSiteLog(ByVal PortalId As Integer, ByVal PortalAlias As String, Optional ByVal ReportType As Integer = -1, Optional ByVal StartDate As String = "", Optional ByVal EndDate As String = "") As SqlDataReader
' Create Instance of Connection and Command Object
Dim myConnection As New SqlConnection(ConfigurationSettings.AppSettings("connectionString"))
' Generate Command Object based on Method
Dim ...
|
| 14. |
Hyperlink from one tab to another tab
Отправлено Admin on 3/18/2003 7:11:31 PM
I.E a project tab has a link to the contacts tab - for sake of argument
One of my users recently pasted
http://XXXXXXXXX/DevPortal/DesktopDefault.aspx?tabindex=2&tabid=2
into a HTML Module - obviously this was not correct for when a user h\s non-admin rights - for the reasons below
How have people gone about doing this given that
1) Not all tabs are available to all users
2) The tab order (or ...
|
| 15. |
IBuySpy Portal Two-Level tabs's Source code
Отправлено Admin on 3/18/2003 7:07:10 PM
*********************************************************************************
* Below are the contents of the affected files for nested Tabs. I chose to *
* create a seperate control for the subnavigation. You may very choose to *
* implement this differently but the details below should keep you from pulling *
* your hair out like I've heard all too many people about to do releated to *
* this topic. *
* *
* This code is as-is, ...
|
| 16. |
Re: IBuySpy Portal Two-Level tabs's Source code
Отправлено Admin on 3/18/2003 7:08:50 PM
Configuration.cs
****************************************************************************
using System;
using System.Configuration;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
namespace ASPNetPortal {
//*********************************************************************
//
// TabStripDetails Class
// ...
|
| 17. |
Re: IBuySpy Portal Two-Level tabs's Source code
Отправлено Admin on 3/18/2003 7:09:40 PM
public void UpdateTab (int portalId, int tabId, int parentTabId, String tabName, int tabOrder, String authorizedRoles, String mobileTabName, bool showMobile) {
// Create Instance of Connection and Command Object
SqlConnection myConnection = new SqlConnection(ConfigurationSettings.AppSettings["connectionString"]);
SqlCommand myCommand = new SqlCommand("UpdateTab", myConnection);
// Mark the Command as a SPROC
|
| 18. |
Re: IBuySpy Portal Two-Level tabs's Source code
Отправлено Admin on 3/18/2003 7:10:28 PM
Sorry folks, that's what I get for trying to toss together an answer for someone without getting all my documentation together. I'm not at work but these should be the relevent portions of the admin.vb below.
DesktopChildNav.aspx does NOT exist in the standard IBuySpy Portal installation. This was a new page that I chose to use to house the child navigation. It's rough right now but should get the idea across. You may choose to implement child navigation in a single control, ...
|
| 19. |
Simple IFrame Improvement
Отправлено Admin on 3/18/2003 7:04:20 PM
modified the following code to make the IFrame module autosize the width to be 100% of the continer it resides in. I thought the same change could be done for the hieght as well, but it doen't work.
Just set the width of the IFrame to -1 to make it autosize.
Does anyone know how to make the height autosize to the target url page?
In \DesktopModules\IFrame\IFrame.ascx
--- OLD ...
|
| 20. |
IBSW and RichTextBox
Отправлено Admin on 3/18/2003 7:03:31 PM
Here is the routine that I use to initialize the RichTextBoxes that I use for HTML, Announcements and Events. It dos the basics of setting up the toolbars, but it also queries the DB and provides buttons that allow you to insert images that exist in the portal links to internal tabs.
Just something I though people might be interested in.
Public Sub InitializeRTB(ByRef rtb As RichTextBoxControl.RichTextBox, ByVal PortalID As Integer)
Dim ...
|