处理集锦,代码部署数据库及IIS站点

作者: 网络编程  发布:2019-10-19

 

应 用程序-特定 权限设置未将 COM 服务器应用程序(CLSID 为
{A9E69610-B80D-11D0-B9B9-00A0C922E750}
) 的 本地 激活 权限授予顾客 NT AUTHO翼虎ITYNETWO宝马X3K SEENCOREVICE SID (S-1-5-20)。能够运用组件服务管理工科具修改此安全权限。
化解办法,给NETWOXC60K SE昂CoraVICE 加上访谈iis服务的权位,具体方法如下:
点击“起初”-“调整面板”-“管理工科具”-“组件服务”-“计算机”-“作者的Computer”-“DCOM”选项,
分选其下的“IIS ADMIN SERAV4VICE”,右健选取“属性”,找到“安全”,在“运营和激活权限”中编辑“自定义”,增添帐号“NETWOENCOREK SE中华VVICE ”,给该帐号付与“当地运转”和“本地激活”的权柄,重新起动IIS之后再会见同一站点,则一切符合规律。

View的后台文件:

您大概感兴趣的稿子:

  • IIS6.0 IIS7.5应用程序池自动截止的消除措施

二、内容

第两种化解办法:
设置Internet新闻服务(IIS)管理器中的应用程序池,改造网址的主次池属性,首借使性质的设置,其余最棒私下认可设置,

ViewModel:

**找到三种境况:
率先种缓和办法:使用Ms Access里的“工具->数据库实用工具->压缩和修补数据库”来修复db/global.asa。如若修复后只怕出错,请查看db目录下是或不是有global.dbl文件,假若有请删除,如无法删除请甘休服务器w3wp.exe进度(win二零零零)或Aspnet_wp.exe进程(win3000)后再删除。

  1. 依据.sql文件在本机上配置数据库
  2. 在本机安排IIS站点,包蕴新建站点,新建应用程序池。只新建而不会对本机上原来的程序池或站点做修改操作

本人是直接在寻觅,也希望高手辅导携带啊!!!

View:

第各样减轻方法:
HKEY_LOCAL_MACHINE金沙澳门官网 ,SystemCurrentControlSetServicesW3SVCParameters
新建八个DWO哈弗D项,名叫:UseSharedWPDesktop 值为1 重启IIS

 

调度后就可以缓和难点。
其二种缓慢解决格局:
实则只要很简短的几步:
开始。。。运行。。。regsvr32 jscript.dll开始。。。
运行。。。regsvr32 vbscript.dll开始。。。
运行。。。iisreset

<Window x:Class="AutoWebTool.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
        xmlns:local="clr-namespace:AutoWebTool"
        Title="Web Site Automatic Deployment" Height="500" Width="800" WindowStartupLocation="CenterScreen" ResizeMode="NoResize">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <GroupBox Header="DataBase Configuration" FontSize="15" BorderThickness="3" Margin="5,10" Grid.Row="0">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="65*"/>
                    <ColumnDefinition Width="133*"/>
                    <ColumnDefinition Width="Auto"/>
                </Grid.ColumnDefinitions>

                <TextBlock Grid.Row="0" Grid.Column="0" Text="Server Address" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="15" Height="26" />
                <TextBlock Grid.Row="1" Grid.Column="0" Text="User" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="15" Height="26" />
                <TextBlock Grid.Row="2" Grid.Column="0" Text="Password" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="15" Height="26" />
                <TextBlock Grid.Row="3" Grid.Column="0" Text="Script Path" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="15" Height="26" />

                <TextBox Grid.Row="0" Grid.Column="1" Text="{Binding ServerAddress, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" 
                     HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="15" Width="450" Height="32" />
                <TextBox Grid.Row="1" Grid.Column="1" Text="{Binding User, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" 
                     HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="15" Width="450" Height="32" />
                <PasswordBox Grid.Row="2" Grid.Column="1" PasswordChar="*" local:PasswordBoxHelper.Password="{Binding Password, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" 
                     HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="15" Width="450" Height="32">
                    <i:Interaction.Behaviors>
                        <local:PasswordBoxBehavior />
                    </i:Interaction.Behaviors>
                </PasswordBox>
                <TextBox Grid.Row="3" Grid.Column="1" Text="{Binding SqlPath, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" 
                     HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="15" Width="450" Height="32" />

                <Button Grid.Row="4" Grid.Column="2" Width="70" Height="25" Margin="0,0,10,0"
                        HorizontalAlignment="Left" VerticalAlignment="Center" Content="Browse" Click="FilePathBrowse_Click"/>
            </Grid> 
        </GroupBox>
        <GroupBox Header="WebSite And Pool" FontSize="15" BorderThickness="3" Margin="5,10" Grid.Row="1">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="65*"/>
                    <ColumnDefinition Width="133*"/>
                    <ColumnDefinition Width="Auto"/>
                </Grid.ColumnDefinitions>

                <TextBlock Grid.Row="0" Grid.Column="0" Text="WebSite Name" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="15" Height="26" />
                <TextBlock Grid.Row="1" Grid.Column="0" Text="WebSite ID" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="15" Height="26" />
                <TextBlock Grid.Row="2" Grid.Column="0" Text="WebSite PhysicalPath" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="15" Height="26" />
                <TextBlock Grid.Row="3" Grid.Column="0" Text="WebSite Port" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="15" Height="26" />
                <TextBlock Grid.Row="4" Grid.Column="0" Text="Application Pool Name" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="15" Height="26"/>

                <TextBox Grid.Row="0" Grid.Column="1" Text="{Binding WebSiteName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" 
                     HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="15" Width="450" Height="32" />
                <TextBox Grid.Row="1" Grid.Column="1" Text="{Binding WebSiteID, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" 
                     HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="15" Width="450" Height="32" />
                <TextBox Grid.Row="2" Grid.Column="1" Text="{Binding PhysicalPath, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" 
                     HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="15" Width="450" Height="32" />
                <TextBox Grid.Row="3" Grid.Column="1" Text="{Binding WebSitePort, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" 
                     HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="15" Width="450" Height="32" />
                <TextBox Grid.Row="4" Grid.Column="1" Text="{Binding PoolName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" 
                     HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="15" Width="450" Height="32" />

                <Button Grid.Row="0" Grid.Column="2" Width="70" Height="25" Margin="0,0,10,0"
                        HorizontalAlignment="Left" VerticalAlignment="Center" Content="Check" Click="WebSiteNameCheck_Click"/>
                <Button Grid.Row="1" Grid.Column="2" Width="70" Height="25" Margin="0,0,10,0"
                        HorizontalAlignment="Left" VerticalAlignment="Center" Content="Check" Click="WebSiteIDCheck_Click"/>
                <Button Grid.Row="2" Grid.Column="2" Width="70" Height="25" Margin="0,0,10,0"
                        HorizontalAlignment="Left" VerticalAlignment="Center" Content="Browse" Click="PathBrowse_Click"/>
                <Button Grid.Row="3" Grid.Column="2" Width="70" Height="25" Margin="0,0,10,0"
                        HorizontalAlignment="Left" VerticalAlignment="Center" Content="Check" Click="WebSitePortCheck_Click"/>
                <Button Grid.Row="4" Grid.Column="2" Width="70" Height="25" Margin="0,0,10,0"
                        HorizontalAlignment="Left" VerticalAlignment="Center" Content="Check" Click="PoolNameCheck_Click"/>
            </Grid>
        </GroupBox>
        <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="10">
            <Button Width="70" Height="25" Content="OK" Click="Deploy_Click"/>
            <Button Width="70" Height="25" Content="Cancel" Margin="10,0,0,0" Click="Close_Click"/>
        </StackPanel>
    </Grid>
</Window>

**关于“未钦赐的错误”的标题 的可比正解的化解办法

金沙澳门官网 1

1:未有打SP1补丁的时候汇合世那么些IIS6.0假死难点,但明日微软都在自动更新里面出补丁了,平时你打好新型补丁后是不会现出此主题素材了
2:你限制了运用池 的财富过小
3:你限制了内部存款和储蓄器使用
4:便是服务器本人内部存款和储蓄器太小
5:正是ACCESS数据库太大或询问太多
6:分歧网址用不相同应用池
7:设置回收时间,很三个人认为设置回收池越短越好,其实是不当的
8:windows 二〇〇三系统iis6访谈本机的站点时提醒“Service Unavailable”;

 

9:重启IIS中的特定应 用程序池命令和电动重启的章程
在操作系统是Windows server 贰零零壹SP1 的情景下,能够用以下命令部分重启IIS应用程序池:
cscript.exe c:windowssystem32iisapp.vbs /a “DefaultAppPool”
其 中/a 代表alternatively,”DefaultAppPool”代表行使程序池的实例名
10:网站有CC攻击

本文由金沙澳门官网发布于网络编程,转载请注明出处:处理集锦,代码部署数据库及IIS站点

关键词: 金沙澳门官网